ez.no / exponential / documentation / reference / data fetching / content / class_attribute_list
fetch( 'content', 'class_attribute_list', hash( 'class_id', class_id [,
'version_id', version_id ] ) )
| Name | Type | Description | Required |
|---|---|---|---|
| class_id | integer | Class ID | yes |
| version_id | integer | Class version status | no |
An array containing a list of the ezContentClassAttribute objects for the given class.
Fetch all class attributes of the specified class. Class version status allowed:
{section loop=fetch( 'content', 'class_attribute_list', hash( 'class_id', 2 ) )} {$:item.name|wash} {/section}
Outputs the name of all attributes of the class with ID 2 ( Article ).
Comments