mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-19416 fixed PHP 5.3 compatiblity issue - fixes weird use of constructors in quickforms
This commit is contained in:
parent
29750da13d
commit
3e8b394e08
15 changed files with 53 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue