Jelix 1.6.37

block.ifusernotconnected.php

Tags
subpackage

jtpl_plugin

author

Laurent Jouanneau

contributor

Dominique Papin

copyright

2006 Laurent Jouanneau

copyright

2007 Dominique Papin

link
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_ifusernotconnected()  : string
a special if block to test easily if the current user is not connected

Functions

jtpl_block_common_ifusernotconnected()

a special if block to test easily if the current user is not connected

jtpl_block_common_ifusernotconnected(jTplCompiler $compiler, bool $begin[, array<string|int, mixed> $params = array() ]) : string
{ifusernotconnected} ..here generated content if the user is NOTconnected  {/ifusernotconnected}
Parameters
$compiler : jTplCompiler

the template compiler

$begin : bool

true if it is the begin of block, else false

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

no parameters. array should be empty

Return values
string

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

Search results