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


Public Member Functions | |
| __construct ($name, $visiblename, $description, $defaultsetting) | |
| output_html ($data, $query='') | |
Password field, allows unmasking of password
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Definition at line 1897 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 |
| string | $description | long localised info |
| string | $defaultsetting | default password |
Reimplemented from admin_setting.
Definition at line 1905 of file adminlib.php.
| output_html | ( | $ | data, |
| $ | query = '' |
||
| ) |
Returns XHTML for the field Writes Javascript into the HTML below right before the last div
| string | $data | Value for the field |
| string | $query | Passed as final argument for format_admin_setting |
Reimplemented from admin_setting_configtext.
Definition at line 1918 of file adminlib.php.
