Jelix 1.8.13

block.ifacl2.php

Tags
subpackage

jacl2_plugin

author

Laurent Jouanneau

contributor

Dominique Papin

contributor

Bastien Jaillot

copyright

2006-2008 Laurent Jouanneau

copyright

2007 Dominique Papin, 2008 Bastien Jaillot

see
http://www.jelix.org
licence

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

Table of Contents

jtpl_block_common_ifacl2()  : string
a special if block to test easily a right value.

Functions

jtpl_block_common_ifacl2()

a special if block to test easily a right value.

jtpl_block_common_ifacl2(jTplCompiler $compiler, bool $begin[, array<string|int, mixed> $param = array() ]) : string
{ifacl2 'right',54} ..here generated content if the user has the right  {/ifacl2}
Parameters
$compiler : jTplCompiler

the template compiler

$begin : bool

true if it is the begin of block, else false

$param : array<string|int, mixed> = array()

0=>subject 1=>optional resource

Tags
Return values
string

the php code corresponding to the begin or end of the block

Search results