The dump template operator
Registered in lib/eztemplate/classes/eztemplateautoload.php by the class eZTemplateAttributeOperator (lib/eztemplate/classes/eztemplateattributeoperator.php).
The same class also registers: attribute.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
show_values | string | no | 'show' |
max_val | numerical | no | 1 |
format | boolean | no | 'html' |
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|dump( 'show', 1, 'html' )Related
Generated by ./console exp:help:examples from lib/eztemplate/classes/eztemplateautoload.php, lib/eztemplate/classes/eztemplateattributeoperator.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.