Jelix 1.6.40

cfunction.const.php

display a constant

Tags
subpackage

jtpl_plugin

author

Laurent Jouanneau

copyright

2008 Laurent Jouanneau

link
http://jelix.org/
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

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

Search results