Jelix 1.6.37

function.cycle_init.php

Tags
subpackage

jtpl_plugin

author

Philippe Schelté (dubphil)

contributor

Laurent Jouanneau

copyright

2008 Philippe Schelté, 2009 Laurent Jouanneau

link
http://jelix.org/
licence

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

Table of Contents

jtpl_function_common_cycle_init()  : mixed
Type: function<br> Name: cycle_init<br> Date: Feb, 2008<br> Purpose: initialize cycling through given values<br> Input: - values = comma separated list of values to cycle - name = name of cycle (optional)

Functions

jtpl_function_common_cycle_init()

Type: function<br> Name: cycle_init<br> Date: Feb, 2008<br> Purpose: initialize cycling through given values<br> Input: - values = comma separated list of values to cycle - name = name of cycle (optional)

jtpl_function_common_cycle_init(jTpl $tpl, string $name[, string $values = '' ]) : mixed

Examples:

{cycle_init '#eeeeee,#d0d0d0d'}
{cycle_init 'name','#eeeeee,#d0d0d0d'}
Parameters
$tpl : jTpl
$name : string

the name of the cycle or the list of values

$values : string = ''

the list of values

Tags
throws
jException
Return values
mixed

Search results