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

Public Member Functions

 MoodleQuickForm_radio ($elementName=null, $elementLabel=null, $text=null, $value=null, $attributes=null)
 setHelpButton ($helpbuttonargs, $function='helpbutton')
 getHelpButton ()
 getElementTemplateType ()
 getFrozenHtml ()
 toHtml ()

Data Fields

 $_helpbutton = ''

Detailed Description

HTML class for a radio type element

Author:
Jamie Pratt public

Definition at line 10 of file radio.php.


Member Function Documentation

Slightly different container template when frozen.

Returns:
string

Definition at line 45 of file radio.php.

Returns the disabled field. Accessibility: the return "( )" from parent class is not acceptable for screenreader users, and we DO want a label.

Returns:
string

Reimplemented from HTML_QuickForm_radio.

Definition at line 57 of file radio.php.

Here is the call graph for this function:

get html for help button

public

Returns:
string html for help button

Definition at line 36 of file radio.php.

MoodleQuickForm_radio ( elementName = null,
elementLabel = null,
text = null,
value = null,
attributes = null 
)

Definition at line 17 of file radio.php.

Here is the call graph for this function:

setHelpButton ( helpbuttonargs,
function = 'helpbutton' 
)

set html for help button

public

Parameters:
array$helparray of arguments to make a help button
string$functionfunction name to call to get html

Definition at line 27 of file radio.php.

Here is the call graph for this function:

toHtml ( )

Returns the radio element in HTML

Since:
1.0 public
Returns:
string

Reimplemented from HTML_QuickForm_radio.

Definition at line 67 of file radio.php.


Field Documentation

$_helpbutton = ''

Definition at line 16 of file radio.php.


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