|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($current, $section, $cm, $course) | |
| data_preprocessing (&$toform) | |
| validation ($data, $files) | |
Protected Member Functions | |
| definition () | |
| add_review_options_group ($mform, $quizconfig, $whenname, $when) | |
| preprocessing_review_settings (&$toform, $whenname, $when) | |
Protected Attributes | |
| $_feedbacks | |
Static Protected Attributes | |
| static | $reviewfields = array() |
Settings form for the quiz module.
Definition at line 39 of file mod_form.php.
| __construct | ( | $ | current, |
| $ | section, | ||
| $ | cm, | ||
| $ | course | ||
| ) |
Definition at line 43 of file mod_form.php.
| add_review_options_group | ( | $ | mform, |
| $ | quizconfig, | ||
| $ | whenname, | ||
| $ | when | ||
| ) | [protected] |
| data_preprocessing | ( | &$ | default_values | ) |
Only available on moodleform_mod.
| array | $default_values | passed by reference |
Reimplemented from moodleform_mod.
Definition at line 390 of file mod_form.php.

| definition | ( | ) | [protected] |
Abstract method - always override!
Reimplemented from moodleform.
Definition at line 56 of file mod_form.php.

| preprocessing_review_settings | ( | &$ | toform, |
| $ | whenname, | ||
| $ | when | ||
| ) | [protected] |
| validation | ( | $ | data, |
| $ | files | ||
| ) |
Dummy stub method - override if you needed to perform some extra validation. If there are errors return array of errors ("fieldname"=>"error message"), otherwise true if ok.
Server side rules do not work for uploaded files, implement serverside rules here if needed.
| array | $data | array of ("fieldname"=>value) of submitted data |
| array | $files | array of uploaded files "element_name"=>tmp_file_path |
Reimplemented from moodleform_mod.
Definition at line 460 of file mod_form.php.
$_feedbacks [protected] |
Definition at line 40 of file mod_form.php.
$reviewfields = array() [static, protected] |
Definition at line 41 of file mod_form.php.