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


Public Member Functions | |
| __construct (backup_setting $setting, $label=null, $text=null, array $attributes=array(), array $options=array()) | |
| get_element_properties (base_task $task=null, renderer_base $output=null) | |
| set_text ($text) | |
| get_static_value () | |
| is_changeable () | |
| set_changeable ($newvalue) | |
Protected Attributes | |
| $type = backup_setting::UI_HTML_CHECKBOX | |
| $changeable = true | |
| $text | |
A checkbox user interface element for backup settings (default)
Definition at line 346 of file backup_ui_setting.class.php.
| __construct | ( | backup_setting $ | setting, |
| $ | label = null, |
||
| $ | text = null, |
||
| array $ | attributes = array(), |
||
| array $ | options = array() |
||
| ) |
Overridden constructor so we can take text argument
| backup_setting | $setting | |
| string | $label | |
| string | $text | |
| array | $attributes | |
| array | $options |
Definition at line 368 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 377 of file backup_ui_setting.class.php.

| get_static_value | ( | ) |
Gets the static value for the element core_renderer $OUTPUT
Reimplemented from base_setting_ui.
Definition at line 399 of file backup_ui_setting.class.php.

| is_changeable | ( | ) |
Returns true if the setting is changeable
Reimplemented from backup_setting_ui.
Definition at line 413 of file backup_ui_setting.class.php.
| set_changeable | ( | $ | newvalue | ) |
Sets whether the setting is changeable, Note dependencies can still mark this setting changeable or not
| bool | $newvalue |
Definition at line 426 of file backup_ui_setting.class.php.
| set_text | ( | $ | text | ) |
Sets the text for the element
| string | $text |
Definition at line 391 of file backup_ui_setting.class.php.
$changeable = true [protected] |
Definition at line 354 of file backup_ui_setting.class.php.
$text [protected] |
Definition at line 359 of file backup_ui_setting.class.php.
$type = backup_setting::UI_HTML_CHECKBOX [protected] |
Reimplemented from base_setting_ui.
Definition at line 350 of file backup_ui_setting.class.php.