cfunction.const.php
display a constant
Tags
Table of Contents
- jtpl_cfunction_xml_const() : string
- compiled function plugin : display a constant. Not available in untrusted templates
Functions
jtpl_cfunction_xml_const()
compiled function plugin : display a constant. Not available in untrusted templates
    
                jtpl_cfunction_xml_const(jTplCompiler $compiler[, array<string|int, mixed> $param = array() ]) : string
        {const 'foo'}
Parameters
- $compiler : jTplCompiler
- 
                    the template compiler 
- $param : array<string|int, mixed> = array()
- 
                    0=>$string the constant name 
Return values
string —the php code corresponding to the function content
