diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-07-06 22:18:59 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-07-06 22:18:59 +0400 |
commit | e21c688dd9d812d4a6b5f0006efb062f4e5d15c9 (patch) | |
tree | 4c59557ff9efeddb24edcba078d1b450a50a9b75 /libs/HTML/QuickForm2/Node.php | |
parent | 54664e44916757f3c162c02db30dc624b057fa61 (diff) |
Synced up with PEAR svn repository revision 301028
* add HTML_QuickForm2_Renderer_Smarty
* comment out require_once
* let autoloaders try loading class first - http://pear.php.net/bugs/bug.php?id=17568
* HTML_QuickForm_Node - http://pear.php.net/bugs/17557
Diffstat (limited to 'libs/HTML/QuickForm2/Node.php')
-rw-r--r-- | libs/HTML/QuickForm2/Node.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/HTML/QuickForm2/Node.php b/libs/HTML/QuickForm2/Node.php index ae770561ba..b957ec1477 100644 --- a/libs/HTML/QuickForm2/Node.php +++ b/libs/HTML/QuickForm2/Node.php @@ -46,7 +46,7 @@ /** * HTML_Common2 - base class for HTML elements */ -require_once 'HTML/Common2.php'; +// require_once 'HTML/Common2.php'; // By default, we generate element IDs with numeric indexes appended even for // elements with unique names. If you want IDs to be equal to the element @@ -58,17 +58,17 @@ if (null === HTML_Common2::getOption('id_force_append_index')) { /** * Exception classes for HTML_QuickForm2 */ -require_once 'HTML/QuickForm2/Exception.php'; +// require_once 'HTML/QuickForm2/Exception.php'; /** * Static factory class for QuickForm2 elements */ -require_once 'HTML/QuickForm2/Factory.php'; +// require_once 'HTML/QuickForm2/Factory.php'; /** * Base class for HTML_QuickForm2 rules */ -require_once 'HTML/QuickForm2/Rule.php'; +// require_once 'HTML/QuickForm2/Rule.php'; /** @@ -668,7 +668,7 @@ abstract class HTML_QuickForm2_Node extends HTML_Common2 { foreach ($this->filters as $filter) { if (is_array($value) && !empty($filter['recursive'])) { - array_walk_recursive(&$value, + array_walk_recursive($value, array('HTML_QuickForm2_Node', 'applyFilter'), $filter); } else { self::applyFilter($value, null, $filter); |