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

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