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


Public Member Functions | |
| __construct ($loggedin) | |
| load_choices () | |
| get_setting () | |
| write_setting ($data) | |
| output_html ($data, $query='') | |
Data Fields | |
| $choices | |
Special select - lists on the frontpage - hacky
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Definition at line 3078 of file adminlib.php.
| __construct | ( | $ | loggedin | ) |
Construct override, requires one param
| bool | $loggedin | Is the user logged in |
Definition at line 3087 of file adminlib.php.
| get_setting | ( | ) |
Returns the selected settings
| mixed | array or setting or null |
Reimplemented from admin_setting.
Definition at line 3123 of file adminlib.php.

| load_choices | ( | ) |
Loads the choices available
Definition at line 3102 of file adminlib.php.

| output_html | ( | $ | data, |
| $ | query = '' |
||
| ) |
Return XHTML select field and wrapping div
| array | $data | Array of elements to select by default |
Reimplemented from admin_setting.
Definition at line 3162 of file adminlib.php.

| write_setting | ( | $ | data | ) |
Save the selected options
| array | $data |
Reimplemented from admin_setting.
Definition at line 3140 of file adminlib.php.

| $choices |
Definition at line 3080 of file adminlib.php.