Admin settings class for the quiz review options.
Copyright: | 2008 Tim Hunt |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 176 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
mod_quiz_admin_review_setting:: (8 methods):
fields()
__construct()
all_on()
times()
normalise_data()
get_setting()
write_setting()
output_html()
Class: mod_quiz_admin_review_setting - X-Ref
Admin settings class for the quiz review options.fields() X-Ref |
This should match {@link mod_quiz_mod_form::$reviewfields} but copied here because generating the admin tree needs to be fast. return: array |
__construct($name, $visiblename, $description,$defaultsetting, $duringstate = null) X-Ref |
Constructor. param: string $name unique ascii name, either 'mysetting' for settings that in config, param: string $visiblename localised name param: string $description localised long description param: mixed $defaultsetting string or array depending on implementation param: bool|null $duringstate |
all_on() X-Ref |
Return the combination that means all times. return: int all times. |
times() X-Ref |
Get an array of the names of all the possible times. return: array an array of time constant => lang string. |
normalise_data($data) X-Ref |
No description |
get_setting() X-Ref |
No description |
write_setting($data) X-Ref |
No description |
output_html($data, $query = '') X-Ref |
No description |