function.counter.php
Tags
Table of Contents
- jtpl_function_common_counter() : mixed
- function plugin : Increment and print a counter on all calls.
Functions
jtpl_function_common_counter()
function plugin : Increment and print a counter on all calls.
jtpl_function_common_counter(jTpl $tpl[, string $name = '' ][, bool $print = true ]) : mixed
{for $i=0;$i<10;$i++}{counter 'name', true}{/for}
Parameters
- $tpl : jTpl
-
The template
- $name : string = ''
-
The name of the counter
- $print : bool = true
-
Print the counter or not