ez.no / exponential / documentation / reference / data fetching / content / object
fetch( 'content', 'object', hash( 'object_id', id ) )
| Name | Type | Description | Required |
|---|---|---|---|
| id | integer | Object ID | yes |
The specified content object, null if it does not exist.
Fetch an object from the content module. Object ID must be specified.
{let object=fetch( 'content', 'object', hash( 'object_id', 2 ) )} {$object.name} {/let}
Outputs name of object with ID 2. ( Normally the root folder )
Log in or create a user account to comment.
Comments