[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
[Code source] [Imprimer] [Statistiques]
Smarty plugin
Poids: | 102 lignes (3 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
smarty_function_cycle($params, &$smarty) X-Ref |
Smarty {cycle} function plugin Type: function<br> Name: cycle<br> Date: May 3, 2002<br> Purpose: cycle through given values<br> Input: - name = name of cycle (optional) - values = comma separated list of values to cycle, or an array of values to cycle (this can be left out for subsequent calls) - reset = boolean - resets given var to true - print = boolean - print var or not. default is true - advance = boolean - whether or not to advance the cycle - delimiter = the value delimiter, default is "," - assign = boolean, assigns to template var instead of printed. Examples:<br> <pre> {cycle values="#eeeeee,#d0d0d0d"} {cycle name=row values="one,two,three" reset=true} {cycle name=row} </pre> author: Monte Ohrt <monte at ohrt dot com> author: credit to Mark Priatel <mpriatel@rogers.com> author: credit to Gerard <gerard@interfold.com> author: credit to Jason Sweat <jsweat_php@yahoo.com> param: array param: Smarty return: string|null |
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |