block.ifuserconnected.php
Tags
Table of Contents
- jtpl_block_common_ifuserconnected() : string
- a special if block to test easily if the current user is connected.
Functions
jtpl_block_common_ifuserconnected()
a special if block to test easily if the current user is connected.
jtpl_block_common_ifuserconnected(jTplCompiler $compiler, bool $begin[, array<string|int, mixed> $params = array() ]) : string
{ifuserconnected} ..here generated content if the user is connected {/ifuserconnected}
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