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


Public Member Functions | |
| __construct (backup_setting $setting, $label=null, $values=null, array $attributes=array(), array $options=array()) | |
| get_element_properties (base_task $task=null, renderer_base $output=null) | |
| set_values (array $values) | |
| get_static_value () | |
| is_changeable () | |
Protected Attributes | |
| $type = backup_setting::UI_HTML_DROPDOWN | |
| $values | |
A select box, drop down user interface for backup settings
Definition at line 509 of file backup_ui_setting.class.php.
| __construct | ( | backup_setting $ | setting, |
| $ | label = null, |
||
| $ | values = null, |
||
| array $ | attributes = array(), |
||
| array $ | options = array() |
||
| ) |
| backup_setting | $setting | |
| string | $label | |
| array | $values | |
| array | $attributes | |
| array | $options |
Definition at line 527 of file backup_ui_setting.class.php.
| get_element_properties | ( | base_task $ | task = null, |
| renderer_base $ | output = null |
||
| ) |
Returns an array of properties suitable for generating a quickforms element
| backup_task | null | $task |
Reimplemented from backup_setting_ui.
Definition at line 536 of file backup_ui_setting.class.php.

| get_static_value | ( | ) |
Gets the static value for this select element
Reimplemented from base_setting_ui.
Definition at line 557 of file backup_ui_setting.class.php.

| is_changeable | ( | ) |
Returns true if the setting is changeable, false otherwise
Reimplemented from backup_setting_ui.
Definition at line 565 of file backup_ui_setting.class.php.
| set_values | ( | array $ | values | ) |
Sets the options for the select box
| array | $values | Associative array of value=>text options |
Definition at line 550 of file backup_ui_setting.class.php.
$type = backup_setting::UI_HTML_DROPDOWN [protected] |
Reimplemented from base_setting_ui.
Definition at line 513 of file backup_ui_setting.class.php.
$values [protected] |
Definition at line 518 of file backup_ui_setting.class.php.