MDL-52081 forms: indicate usage of grandparent constructor

This commit is contained in:
Marina Glancy 2015-12-10 13:37:57 +08:00
parent 1a0df5535e
commit 32fada5cb2
12 changed files with 12 additions and 0 deletions

View file

@ -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;