Moodle  2.2.1
http://www.collinsharper.com
backup_setting_ui_radio Class Reference
Inheritance diagram for backup_setting_ui_radio:
Collaboration diagram for backup_setting_ui_radio:

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

Detailed Description

Radio button user interface element for backup settings

Definition at line 437 of file backup_ui_setting.class.php.


Constructor & Destructor Documentation

__construct ( backup_setting setting,
label = null,
text = null,
value = null,
array attributes = array(),
array options = array() 
)
Parameters:
backup_setting$setting
string$label
string$text
string$value
array$attributes
array$options

Definition at line 461 of file backup_ui_setting.class.php.


Member Function Documentation

get_element_properties ( base_task task = null,
renderer_base output = null 
)

Returns an array of properties suitable for generating a quickforms element

Parameters:
backup_task | null$task
Returns:
array (element, name, label, text, value, attributes)

Reimplemented from backup_setting_ui.

Definition at line 471 of file backup_ui_setting.class.php.

Here is the call graph for this function:

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

Parameters:
text$text

Definition at line 485 of file backup_ui_setting.class.php.

set_value ( value)

Sets the value for the input

Parameters:
string$value

Definition at line 492 of file backup_ui_setting.class.php.


Field Documentation

$text [protected]

Definition at line 446 of file backup_ui_setting.class.php.

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.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations