[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
Smarty plugin
File Size: | 106 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
smarty_function_cycle($params, $template) X-Ref |
Smarty {cycle} function plugin Type: function<br> Name: cycle<br> Date: May 3, 2002<br> Purpose: cycle through given values<br> Params: <pre> - 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. </pre> 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 <[email protected]> author: credit to Gerard <[email protected]> author: credit to Jason Sweat <[email protected]> param: array $params parameters param: Smarty_Internal_Template $template template object return: string|null |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |