fetch( 'class', 'attribute_list' )
Defined in kernel/class/function_definition.php; it calls eZClassFunctionCollection::fetchClassAttributeList() (kernel/class/ezclassfunctioncollection.php).
Operation type: read.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
class_id | integer | yes |
Example
In a template (the values are placeholders of each parameter's type):
def $result = fetch( 'class', 'attribute_list', hash( 'class_id', 1 ) )In PHP, the same function through the function handler (lib/ezutils/classes/ezfunctionhandler.php):
$result = eZFunctionHandler::execute( 'class', 'attribute_list', array( 'class_id' => 1 ) );In a shipped template
The first use in the templates of this installation, design/admin/templates/workflow/eventtype/edit/event_ezwaituntildate.tpl line 76:
foreach fetch( 'class', 'attribute_list', hash( 'class_id', $class.id ) ) as $attributeRelated
Generated by ./console exp:help:examples from kernel/class/function_definition.php, kernel/class/ezclassfunctioncollection.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.