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,11 @@ class MoodleQuickForm_text extends HTML_QuickForm_text{
*/
var $_helpbutton='';
var $_hiddenLabel=false;
function MoodleQuickForm_text($elementName=null, $elementLabel=null, $attributes=null) {
parent::HTML_QuickForm_text($elementName, $elementLabel, $attributes);
}
function setHiddenLabel($hiddenLabel){
$this->_hiddenLabel = $hiddenLabel;
}