ez.no / exponential / documentation / reference / data fetching / content / class_attribute
fetch( 'content', 'class_attribute', hash( 'attribute_id', attribute_id [,
'version_id', version ] ) )
| Name | Type | Description | Required |
|---|---|---|---|
| attribute_id | integer | ID of class attribute | yes |
| version_id | integer | Class version status | no |
Class attribute object.
Fetch class attribute specified by parameters. Class version status allowed:
{let class_attribute=fetch( 'content', 'class_attribute', hash( 'attribute_id', 231 ) )} {$class_attribute.name|wash} {/let}
Outputs name of class attribute with id 231.
Comments