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


Public Member Functions | |
| __construct ($name, $visiblename, $description) | |
| get_setting () | |
| write_setting ($data) | |
| output_html ($data, $query='') | |
: finish doc this class and it's functions
Definition at line 59 of file localadminlib.php.
| __construct | ( | $ | name, |
| $ | visiblename, | ||
| $ | description | ||
| ) |
Constructor
| string | $name | of setting |
| string | $visiblename | localised |
| string | $description | long localised info |
Definition at line 67 of file localadminlib.php.
| get_setting | ( | ) |
Returns current value of this setting
Reimplemented from admin_setting.
Definition at line 71 of file localadminlib.php.
| output_html | ( | $ | data, |
| $ | query = '' |
||
| ) |
Return part of form with setting This function should always be overwritten
| mixed | $data | array or string depending on setting |
| string | $query |
Reimplemented from admin_setting.
Definition at line 79 of file localadminlib.php.

| write_setting | ( | $ | data | ) |
Store new setting
| mixed | $data | string or array, must not be NULL |
Reimplemented from admin_setting.
Definition at line 75 of file localadminlib.php.