diff --git a/lib/form/dateselector.php b/lib/form/dateselector.php index 76f3a2e1558..29957e3d904 100644 --- a/lib/form/dateselector.php +++ b/lib/form/dateselector.php @@ -80,6 +80,7 @@ class MoodleQuickForm_date_selector extends MoodleQuickForm_group { $calendartype = \core_calendar\type_factory::get_calendar_instance(); $this->_options = array('startyear' => $calendartype->get_min_year(), 'stopyear' => $calendartype->get_max_year(), 'defaulttime' => 0, 'timezone' => 99, 'step' => 5, 'optional' => false); + // TODO MDL-52313 Replace with the call to parent::__construct(). HTML_QuickForm_element::__construct($elementName, $elementLabel, $attributes); $this->_persistantFreeze = true; $this->_appendName = true; diff --git a/lib/form/datetimeselector.php b/lib/form/datetimeselector.php index 9f27cbd7bd5..8055f026e6f 100644 --- a/lib/form/datetimeselector.php +++ b/lib/form/datetimeselector.php @@ -83,6 +83,7 @@ class MoodleQuickForm_date_time_selector extends MoodleQuickForm_group { $this->_options = array('startyear' => $calendartype->get_min_year(), 'stopyear' => $calendartype->get_max_year(), 'defaulttime' => 0, 'timezone' => 99, 'step' => 5, 'optional' => false); + // TODO MDL-52313 Replace with the call to parent::__construct(). HTML_QuickForm_element::__construct($elementName, $elementLabel, $attributes); $this->_persistantFreeze = true; $this->_appendName = true; diff --git a/lib/form/duration.php b/lib/form/duration.php index 7c29757b67b..ab2d43462ac 100644 --- a/lib/form/duration.php +++ b/lib/form/duration.php @@ -64,6 +64,7 @@ class MoodleQuickForm_duration extends MoodleQuickForm_group { * @param mixed $attributes Either a typical HTML attribute string or an associative array */ public function __construct($elementName = null, $elementLabel = null, $options = array(), $attributes = null) { + // TODO MDL-52313 Replace with the call to parent::__construct(). HTML_QuickForm_element::__construct($elementName, $elementLabel, $attributes); $this->_persistantFreeze = true; $this->_appendName = true; diff --git a/lib/form/modgrade.php b/lib/form/modgrade.php index 19c3ee08167..dd8ccce6fe1 100644 --- a/lib/form/modgrade.php +++ b/lib/form/modgrade.php @@ -54,6 +54,7 @@ class MoodleQuickForm_modgrade extends MoodleQuickForm_group{ * @param mixed $attributes Either a typical HTML attribute string or an associative array */ public function __construct($elementname = null, $elementlabel = null, $options = array(), $attributes = null) { + // TODO MDL-52313 Replace with the call to parent::__construct(). HTML_QuickForm_element::__construct($elementname, $elementlabel, $attributes); $this->_persistantFreeze = true; $this->_appendName = true; diff --git a/lib/form/modvisible.php b/lib/form/modvisible.php index 99fca08a561..ddc4a6fba94 100644 --- a/lib/form/modvisible.php +++ b/lib/form/modvisible.php @@ -49,6 +49,7 @@ class MoodleQuickForm_modvisible extends MoodleQuickForm_select{ * @param array $options ignored */ public function __construct($elementName=null, $elementLabel=null, $attributes=null, $options=null) { + // TODO MDL-52313 Replace with the call to parent::__construct(). HTML_QuickForm_element::__construct($elementName, $elementLabel, $attributes, null); $this->_type = 'modvisible'; } diff --git a/lib/form/selectyesno.php b/lib/form/selectyesno.php index 8ccf82b87c4..7764fbb94e8 100644 --- a/lib/form/selectyesno.php +++ b/lib/form/selectyesno.php @@ -48,6 +48,7 @@ class MoodleQuickForm_selectyesno extends MoodleQuickForm_select{ * @param mixed $options ignored, not used. */ public function __construct($elementName=null, $elementLabel=null, $attributes=null, $options=null) { + // TODO MDL-52313 Replace with the call to parent::__construct(). HTML_QuickForm_element::__construct($elementName, $elementLabel, $attributes, null); $this->_type = 'selectyesno'; $this->_persistantFreeze = true; diff --git a/lib/formslib.php b/lib/formslib.php index ef8646bce34..6192514b917 100644 --- a/lib/formslib.php +++ b/lib/formslib.php @@ -1441,6 +1441,7 @@ class MoodleQuickForm extends HTML_QuickForm_DHTMLRulesTableless { static $formcounter = 1; + // TODO MDL-52313 Replace with the call to parent::__construct(). HTML_Common::__construct($attributes); $target = empty($target) ? array() : array('target' => $target); $this->_formName = $formName; diff --git a/lib/pear/HTML/QuickForm/date.php b/lib/pear/HTML/QuickForm/date.php index 12478376e33..c0090e49993 100644 --- a/lib/pear/HTML/QuickForm/date.php +++ b/lib/pear/HTML/QuickForm/date.php @@ -267,6 +267,7 @@ class HTML_QuickForm_date extends HTML_QuickForm_group * @param mixed Either a typical HTML attribute string or an associative array */ public function __construct($elementName = null, $elementLabel = null, $options = array(), $attributes = null) { + // TODO MDL-52313 Replace with the call to parent::__construct(). HTML_QuickForm_element::__construct($elementName, $elementLabel, $attributes); $this->_persistantFreeze = true; $this->_appendName = true; diff --git a/lib/pear/HTML/QuickForm/hiddenselect.php b/lib/pear/HTML/QuickForm/hiddenselect.php index 0dc8721edc4..acafa4f90eb 100644 --- a/lib/pear/HTML/QuickForm/hiddenselect.php +++ b/lib/pear/HTML/QuickForm/hiddenselect.php @@ -50,6 +50,7 @@ class HTML_QuickForm_hiddenselect extends HTML_QuickForm_select * @return void */ public function __construct($elementName=null, $elementLabel=null, $options=null, $attributes=null) { + // TODO MDL-52313 Replace with the call to parent::__construct(). HTML_QuickForm_element::__construct($elementName, $elementLabel, $attributes); $this->_persistantFreeze = true; $this->_type = 'hiddenselect'; diff --git a/lib/pear/HTML/QuickForm/hierselect.php b/lib/pear/HTML/QuickForm/hierselect.php index ac34db2609d..37622297d03 100644 --- a/lib/pear/HTML/QuickForm/hierselect.php +++ b/lib/pear/HTML/QuickForm/hierselect.php @@ -115,6 +115,7 @@ class HTML_QuickForm_hierselect extends HTML_QuickForm_group * @return void */ public function __construct($elementName=null, $elementLabel=null, $attributes=null, $separator=null) { + // TODO MDL-52313 Replace with the call to parent::__construct(). HTML_QuickForm_element::__construct($elementName, $elementLabel, $attributes); $this->_persistantFreeze = true; if (isset($separator)) { diff --git a/lib/pear/HTML/QuickForm/link.php b/lib/pear/HTML/QuickForm/link.php index 570aba8a426..72787405828 100644 --- a/lib/pear/HTML/QuickForm/link.php +++ b/lib/pear/HTML/QuickForm/link.php @@ -58,6 +58,7 @@ class HTML_QuickForm_link extends HTML_QuickForm_static * @throws */ public function __construct($elementName=null, $elementLabel=null, $href=null, $text=null, $attributes=null) { + // TODO MDL-52313 Replace with the call to parent::__construct(). HTML_QuickForm_element::__construct($elementName, $elementLabel, $attributes); $this->_persistantFreeze = false; $this->_type = 'link'; diff --git a/lib/pear/HTML/QuickForm/radio.php b/lib/pear/HTML/QuickForm/radio.php index ef00cfe24da..b3569fdf500 100644 --- a/lib/pear/HTML/QuickForm/radio.php +++ b/lib/pear/HTML/QuickForm/radio.php @@ -58,6 +58,7 @@ class HTML_QuickForm_radio extends HTML_QuickForm_input * @return void */ public function __construct($elementName=null, $elementLabel=null, $text=null, $value=null, $attributes=null) { + // TODO MDL-52313 Replace with the call to parent::__construct(). HTML_QuickForm_element::__construct($elementName, $elementLabel, $attributes); if (isset($value)) { $this->setValue($value);