block.ifnotacl.php
Tags
Table of Contents
- jtpl_block_common_ifnotacl() : string
- a special if block to test easily a right value.
Functions
jtpl_block_common_ifnotacl()
a special if block to test easily a right value.
jtpl_block_common_ifnotacl(jTplCompiler $compiler, bool $begin[, array<string|int, mixed> $params = array() ]) : string
{ifnotacl 'subject','value',54} ..here generated content if the user has NOT the right {/ifnotacl}
Parameters
- $compiler : jTplCompiler
-
the template compiler
- $begin : bool
-
true if it is the begin of block, else false
- $params : array<string|int, mixed> = array()
-
0=>subject 1=>right value 2=>optional resource
Tags
Return values
string —the php code corresponding to the begin or end of the block