The ezpackage template operator
Registered in kernel/common/eztemplateautoload.php by the class eZPackageOperator (kernel/common/ezpackageoperator.php).
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
class | string | yes | false |
data | string | no | false |
Example
Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).
$value|ezpackage( 'class', 'data' )In a shipped template
The first use in the templates of this installation, design/admin/templates/package/install_header.tpl line 27:
<img src=concat( $package|ezpackage( fileitempath, $thumbnail_list[0] ) )|ezroot alt="$thumbnail_list[0].name|wash" />Related
Generated by ./console exp:help:examples from kernel/common/eztemplateautoload.php, kernel/common/ezpackageoperator.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.