The rawurlencode template operator
Registered in kernel/common/eztemplateautoload.php by the class eZTemplatePHPOperator (lib/eztemplate/classes/eztemplatephpoperator.php).
It calls the PHP function rawurlencode(), listed in settings/template.ini [PHP] PHPOperatorList[].
The same class also registers: urlencode, urldecode, rawurldecode.
Parameters
The class does not describe its parameters (no namedParameterList()); see its source for what it reads.
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|rawurlencodeIn a shipped template
The first use in the templates of this installation, design/admin/templates/migration/rollback.tpl line 23:
<form method="post" action=concat( 'migration/rollback/', $target|rawurlencode )|ezurl class="a4-form">Related
Generated by ./console exp:help:examples from kernel/common/eztemplateautoload.php, lib/eztemplate/classes/eztemplatephpoperator.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.