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


Public Member Functions | |
| __construct ($name, $visiblename, $description, $defaultsetting) | |
| load_choices () | |
admin_setting_configselect for the default number of sections in a course, simply so we can lazy-load the choices.
Definition at line 3625 of file adminlib.php.
| __construct | ( | $ | name, |
| $ | visiblename, | ||
| $ | description, | ||
| $ | defaultsetting | ||
| ) |
Constructor
| string | $name | unique ascii name, either 'mysetting' for settings that in config, or 'myplugin/mysetting' for ones in config_plugins. |
| string | $visiblename | localised name |
| string | $description | localised long description |
| mixed | $defaultsetting | string or array depending on implementation |
Reimplemented from admin_setting.
Definition at line 3626 of file adminlib.php.
| load_choices | ( | ) |
Lazy-load the available choices for the select box
Reimplemented from admin_setting_configselect.
Definition at line 3631 of file adminlib.php.
