ez.no / exponential / documentation / reference / data fetching / class / list
fetch( 'class', 'list', hash( [ 'class_filter', array( [ class_id | class_identifier [,
class_id | class_identifier ] [, ... ] ] ) ] ) )
| Name | Type | Description | Required |
|---|---|---|---|
| class_id | integer | Class ID | no |
| class_identifier | string | Class identifier | no |
| ... |
Array containing classes.
Fetch existing classes based on parameters in class_filter. If the class_filter is not specified, all classes are fetched.
Only class id or only class identifiers must be used.
{fetch( 'class', 'list', hash( 'class_filter', array( 1, 2 ) ) )}
returns array containing Folder and Article classes.
{fetch( 'class', 'list', hash( 'class_filter', array( 'folder', 'article' ) ) )}
returns array containing Folder and Article classes.
Log in or create a user account to comment.
Comments