The ezimage template operator
Registered in kernel/common/eztemplateautoload.php by the class eZURLOperator (kernel/common/ezurloperator.php).
The same class also registers: ezurl, ezroot, ezdesign, exturl, ezsys, ezhttp, ezhttp_hasvariable, ezini, ezini_hasvariable.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
quote_val | string | no | 'double' |
server_url | string | no | 'relative' |
The operator works on its input: the value before |.
Example
Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).
$value|ezimage( 'double', 'relative' )In a shipped template
The first use in the templates of this installation, design/admin/templates/ajaxuploader/browse.tpl line 4:
<a href="ezajaxuploader::browse::$handler_id|wash()::$browse_start.parent_node_id::$class.id"><img src='up-16x16-grey.png'|ezimage() alt="'Go to the parent level'|i18n( 'design/admin/ajaxuploader' )" /></a>Related
Generated by ./console exp:help:examples from kernel/common/eztemplateautoload.php, kernel/common/ezurloperator.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.