fetch( 'content', 'class', hash( 'class_id', class_id ) )
Name | Type | Description | Required |
---|---|---|---|
class_id | integer | The identifier or ID number of the of class that should be fetched. | Yes. |
The specified class as an ezcontentclass object or FALSE.
This function fetches the class specified by the "class_id" parameter and returns it as an ezcontentclass object. The function will return FALSE if the specified class is unavailable.
{def $class=fetch( 'content', 'class', hash( 'class_id', 13 ) )} {$class.name|wash}
Outputs name of class number 13.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.