The ezini template operator
Registered in kernel/common/eztemplateautoload.php by the class eZURLOperator (kernel/common/ezurloperator.php).
The same class also registers: ezurl, ezroot, ezdesign, ezimage, exturl, ezsys, ezhttp, ezhttp_hasvariable, 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|ezini( 'double', 'relative' )In a shipped template
The first use in the templates of this installation, design/admin/override/templates/admin_preview/multiprice_product.tpl line 31:
def $product_category_attribute=ezini( 'VATSettings', 'ProductCategoryAttribute', 'shop.ini' )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.