[Phphtmllib-devel] SF.net SVN: phphtmllib:[3564] branches/BRANCH_2_X/phphtmllib/form/ form_elements
Status: Beta
Brought to you by:
hemna
|
From: <mpw...@us...> - 2012-08-28 18:47:38
|
Revision: 3564
http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3564&view=rev
Author: mpwalsh8
Date: 2012-08-28 18:47:32 +0000 (Tue, 28 Aug 2012)
Log Message:
-----------
Added missing child constructor which broke the constructor chain in early PHP 5.3.x builds.
Modified Paths:
--------------
branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc
Modified: branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc
===================================================================
--- branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc 2012-03-12 22:23:45 UTC (rev 3563)
+++ branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc 2012-08-28 18:47:32 UTC (rev 3564)
@@ -60,6 +60,16 @@
}
return $tag;
}
+
+ /**
+ * Constructor - needed for early PHP 5.3.x compatibility
+ *
+ * @param Parent Constructor
+ * @param array of Constructor Arguments
+ */
+ function FEListBox() {
+ call_user_func_array('parent::FEDataList', func_get_args()) ;
+ }
}
/**
@@ -1258,8 +1268,6 @@
}
parent::FEListBox($label, $required, $width, $height, array_flip($months));
-
-
}
}
@@ -2025,7 +2033,7 @@
*
* @author Walter A. Boring IV
*/
-class FEHoursListBox extends FEListbox {
+class FEHoursListBox extends FEListBox {
/**
* Flag to tell us to use 12 or 24 hour format
@@ -2060,7 +2068,7 @@
*
* @author Walter A. Boring IV
*/
-class FEMinutesListBox extends FEListbox {
+class FEMinutesListBox extends FEListBox {
/**
* The constructor
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|