Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_modules / postcalendar / pnincludes / Smarty / plugins [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] | 
| 21 Aug 2002 20:22:46 | postnuke_modules/postcalendar/pnincludes/Smarty/plugins | function.debug.php,NONE,1.1 | Roger Raymond | 
| Smarty 2.3.0 | |||
Update of /home/cvsroot/postnuke_modules/postcalendar/pnincludes/Smarty/plugins
In directory ns7.hostnuke.net:/tmp/cvs-serv15010
Added Files:
	function.debug.php 
Log Message:
Smarty 2.3.0
--- NEW FILE: function.debug.php ---
<?php
/*
 * Smarty plugin
 * -------------------------------------------------------------
 * Type:     function
 * Name:     cycle
 * Version:  1.3
 * Date:     May 3, 2002
 * Author:	 Monte Ohrt <monte@ispi.net>
 * Credits:  Mark Priatel <mpriatel@rogers.com>
 *           Gerard <gerard@interfold.com>
 *           Jason Sweat <jsweat_php@yahoo.com>
 * Purpose:  cycle through given values
 * 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: {cycle values="#eeeeee,#d0d0d0d"}
 *           {cycle name=row values="one,two,three" reset=true}
 *           {cycle name=row}
 * -------------------------------------------------------------
 */
function smarty_function_debug($params, &$smarty)
{
	if($params['output']) {
		$smarty->assign('_smarty_debug_output',$params['output']);
	}
	echo $smarty->_generate_debug_output();
}
/* vim: set expandtab: */
?>
View Statistics - Next Notice - Previous Notice
| Visit Developer Site - Browse CVS Repository | Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |