📚 Looking for current Exponential documentation? This site contains legacy SDK & API reference docs (eZ Publish era). For up-to-date 2026 product documentation, visit doc.exponential.earth.
class / eZTemplateDelimitFunction
|
Detailed DescriptionDisplays left and right delimiter in templates.This class iss a template function for outputting the left and right delimiters. Since the left and right delimiters are always parsed by the template engine it's not possible to output these characters. By registering an instance of this class as template functions you can get these characters with {ldelim} and {rdelim}. The name of these functions can also be controlled by passing the names to the constructor. Example: $tpl->registerFunctions( new eZTemplateDelimitFunction() ); // or custom names $tpl->registerFunctions( new eZTemplateDelimitFunction( "l", "r" ) ); // alternatively $obj = new eZTemplateDelimitFunction(); $tpl->registerFunction( "ldelim", $obj ); $tpl->registerFunction( "rdelim", $obj );
Definition at line eztemplatedelimitfunction.php. Constructor & Destructor Documentation
Member Function Documentation
The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Exponential Copyright © 1998 - 2026 7x