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


Public Member Functions | |
| __construct (backup_setting $setting, $label=null, $text=null, $value=null, array $attributes=array(), array $options=array()) | |
| get_element_properties (base_task $task=null, renderer_base $output=null) | |
| set_text ($text) | |
| set_value ($value) | |
| get_static_value () | |
Protected Attributes | |
| $type = backup_setting::UI_HTML_RADIOBUTTON | |
| $text | |
| $value | |
Radio button user interface element for backup settings
Definition at line 437 of file backup_ui_setting.class.php.
| __construct | ( | backup_setting $ | setting, |
| $ | label = null, |
||
| $ | text = null, |
||
| $ | value = null, |
||
| array $ | attributes = array(), |
||
| array $ | options = array() |
||
| ) |
| backup_setting | $setting | |
| string | $label | |
| string | $text | |
| string | $value | |
| array | $attributes | |
| array | $options |
Definition at line 461 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 471 of file backup_ui_setting.class.php.

| get_static_value | ( | ) |
Gets the static value to show for the element
Reimplemented from base_setting_ui.
Definition at line 498 of file backup_ui_setting.class.php.
| set_text | ( | $ | text | ) |
Sets the text next to this input
| text | $text |
Definition at line 485 of file backup_ui_setting.class.php.
| set_value | ( | $ | value | ) |
Sets the value for the input
| string | $value |
Definition at line 492 of file backup_ui_setting.class.php.
$text [protected] |
Definition at line 446 of file backup_ui_setting.class.php.
$type = backup_setting::UI_HTML_RADIOBUTTON [protected] |
Reimplemented from base_setting_ui.
Definition at line 441 of file backup_ui_setting.class.php.
$value [protected] |
Definition at line 451 of file backup_ui_setting.class.php.