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


Public Member Functions | |
| __construct ($name, $visiblename, $description, $types) | |
| load_choices () | |
| get_defaultsetting () | |
Admin setting that allows a user to pick appropriate roles for something.
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Definition at line 3857 of file adminlib.php.
| __construct | ( | $ | name, |
| $ | visiblename, | ||
| $ | description, | ||
| $ | types | ||
| ) |
| string | $name | Name of config variable |
| string | $visiblename | Display name |
| string | $description | Description |
| array | $types | Array of archetypes which identify roles that will be enabled by default. |
Reimplemented from admin_setting.
Definition at line 3868 of file adminlib.php.
Return the default setting for this control
Reimplemented from admin_setting.
Definition at line 3902 of file adminlib.php.

| load_choices | ( | ) |
Load roles as choices
Reimplemented from admin_setting_configmulticheckbox.
Definition at line 3878 of file adminlib.php.
