/libs/plugins/function.cycle.php

Description

Smarty plugin

Functions
Strict standards: Only variables should be passed by reference in C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php on line 712 Call Stack: 0.0006 229032 1. {main}() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpdoc:0 0.0027 240216 2. include('C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\phpdoc.inc') C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpdoc:59 0.1463 8650352 3. phpDocumentor_setup->createDocs() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\phpdoc.inc:65 13.2331 130016152 4. phpDocumentor_IntermediateParser->Output() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Setup.inc.php:761 13.9644 131381624 5. phpDocumentor_IntermediateParser->Convert() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\IntermediateParser.inc:1865 13.9644 131381720 6. Converter->walk() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\IntermediateParser.inc:1652 15.9223 134291344 7. HTMLframesConverter->endPage() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Converter.inc:1939 15.9225 134292512 8. Smarty->fetch() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Converters\HTML\frames\HTMLframesConverter.inc:366 15.9448 134412880 9. include('C:\wamp\www\smarty3.1.0\development\Smarty3Doc\Smarty\PluginsFunction\26d3399f63abd43a7d72f8c21440dcb0\%%-65^%%-658603405^page.tpl.php') C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1298 15.9661 134417648 10. Smarty->_smarty_include() C:\wamp\www\smarty3.1.0\development\Smarty3Doc\Smarty\PluginsFunction\26d3399f63abd43a7d72f8c21440dcb0\%%-65^%%-658603405^page.tpl.php:257 15.9663 134420960 11. Smarty->_compile_resource() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1935 15.9673 134426584 12. Smarty->_compile_source() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1458 15.9677 134460088 13. Smarty_Compiler->_compile_file() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1523 15.9685 134494200 14. Smarty_Compiler->_compile_tag() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php:316 15.9694 134495120 15. Smarty_Compiler->_compile_custom_tag() C:\wamp\www\phpdocumentator\PhpDocumentor-1.4.3\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php:537
smarty_function_cycle (line 46)

Smarty {cycle} function plugin

Type: function
Name: cycle
Date: May 3, 2002
Purpose: cycle through given values
Params:

 - 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:
 {cycle values="#eeeeee,#d0d0d0d"}
 {cycle name=row values="one,two,three" reset=true}
 {cycle name=row}

string|null smarty_function_cycle (array $params, Smarty_Internal_Template $template)

Documentation generated on Mon, 17 Jun 2013 21:06:41 +0000 by phpDocumentor 1.4.3