MDL-19416 fixed PHP 5.3 compatiblity issue - fixes weird use of constructors in quickforms

This commit is contained in:
skodak 2009-06-07 09:43:27 +00:00
parent 29750da13d
commit 3e8b394e08
15 changed files with 53 additions and 1 deletions

View file

@ -15,6 +15,10 @@ class MoodleQuickForm_select extends HTML_QuickForm_select{
*/
var $_helpbutton='';
var $_hiddenLabel=false;
function MoodleQuickForm_select($elementName=null, $elementLabel=null, $options=null, $attributes=null) {
parent::HTML_QuickForm_select($elementName, $elementLabel, $options, $attributes);
}
function setHiddenLabel($hiddenLabel){
$this->_hiddenLabel = $hiddenLabel;
}