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


Public Member Functions | |
| __construct ($name, $visiblename, $description, $defaultsetting= '') | |
| get_setting () | |
| write_setting ($data) | |
| output_html ($data, $query='') | |
Protected Member Functions | |
| prepare_form_data ($regexes) | |
| process_form_data (array $form) | |
Administration interface for user specified regular expressions for device detection.
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Definition at line 7706 of file adminlib.php.
| __construct | ( | $ | name, |
| $ | visiblename, | ||
| $ | description, | ||
| $ | defaultsetting = '' |
||
| ) |
Calls parent::__construct with specific args
| string | $name | |
| string | $visiblename | |
| string | $description | |
| mixed | $defaultsetting |
Reimplemented from admin_setting.
Definition at line 7716 of file adminlib.php.
| get_setting | ( | ) |
Return the current setting(s)
Reimplemented from admin_setting.
Definition at line 7726 of file adminlib.php.

| output_html | ( | $ | data, |
| $ | query = '' |
||
| ) |
Return XHTML field(s) for regexes
| array | $data | Array of options to set in HTML |
Reimplemented from admin_setting.
Definition at line 7761 of file adminlib.php.

| prepare_form_data | ( | $ | regexes | ) | [protected] |
Converts the string of regexes
| $regexes | string of regexes |
Definition at line 7836 of file adminlib.php.

| process_form_data | ( | array $ | form | ) | [protected] |
Converts the data from admin settings form into a string of regexes
| array | $data | array of admin form fields and values |
Definition at line 7863 of file adminlib.php.

| write_setting | ( | $ | data | ) |
Save selected settings
| array | $data | Array of settings to save |
Reimplemented from admin_setting.
Definition at line 7743 of file adminlib.php.
