protected function form_length(\MoodleQuickForm $mform, $helptext = '')
 {
     $this->length = isset($this->length) ? $this->length : 10;
     return parent::form_length($mform, 'maxdigitsallowed');
 }
Пример #2
0
 protected function form_length(\MoodleQuickForm $mform, $helptext = '')
 {
     return parent::form_length($mform, 'fieldlength');
 }