The xml_encode template operator
Registered in extension/ezjscore/autoloads/eztemplateautoload.php by the class ezjscEncodingTemplateFunctions (extension/ezjscore/autoloads/ezjscencodingtemplatefunctions.php).
The same class also registers: json_encode, node_encode.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
hash | hash | yes | array() |
Example
Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).
$value|xml_encode( hash() )Related
Generated by ./console exp:help:examples from extension/ezjscore/autoloads/eztemplateautoload.php, extension/ezjscore/autoloads/ezjscencodingtemplatefunctions.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.