cvs: pear /HTML_QuickForm/QuickForm/Renderer ArraySmarty.php

From: Date: Mon, 06 Apr 2009 12:02:08 +0000
Subject: cvs: pear /HTML_QuickForm/QuickForm/Renderer ArraySmarty.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-55890@lists.php.net to get a copy of this message
avb Mon Apr 6 12:02:08 2009 UTC Modified files: /pear/HTML_QuickForm/QuickForm/Renderer ArraySmarty.php Log: Fixed #14995: enabled changing $collectHidden parameter in ArraySmarty constructor http://cvs.php.net/viewvc.cgi/pear/HTML_QuickForm/QuickForm/Renderer/ArraySmarty.php?r1=1.13&r2=1.14&diff_format=u Index: pear/HTML_QuickForm/QuickForm/Renderer/ArraySmarty.php diff -u pear/HTML_QuickForm/QuickForm/Renderer/ArraySmarty.php:1.13 pear/HTML_QuickForm/QuickForm/Renderer/ArraySmarty.php:1.14 --- pear/HTML_QuickForm/QuickForm/Renderer/ArraySmarty.php:1.13 Sat Apr 4 21:34:04 2009 +++ pear/HTML_QuickForm/QuickForm/Renderer/ArraySmarty.php Mon Apr 6 12:02:08 2009 @@ -20,7 +20,7 @@ * @author Thomas Schulz <ths@4bconsult.de> * @copyright 2001-2009 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License 3.01 - * @version CVS: $Id: ArraySmarty.php,v 1.13 2009/04/04 21:34:04 avb Exp $ + * @version CVS: $Id: ArraySmarty.php,v 1.14 2009/04/06 12:02:08 avb Exp $ * @link http://pear.php.net/package/HTML_QuickForm */ @@ -133,11 +133,12 @@ * * @param Smarty reference to the Smarty template engine instance * @param bool true: render an array of labels to many labels, $key 0 to 'label' and the oterh to "label_$key" + * @param bool true: collect all hidden elements into string; false: process them as usual form elements * @access public */ - function HTML_QuickForm_Renderer_ArraySmarty(&$tpl, $staticLabels = false) + function HTML_QuickForm_Renderer_ArraySmarty(&$tpl, $staticLabels = false, $collectHidden = true) { - $this->HTML_QuickForm_Renderer_Array(true, $staticLabels); + $this->HTML_QuickForm_Renderer_Array($collectHidden, $staticLabels); $this->_tpl =& $tpl; } // end constructor

« previous php.pear.cvs (#55890) next »