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


Public Member Functions | |
| MoodleQuickForm_checkbox ($elementName=null, $elementLabel=null, $text='', $attributes=null) | |
| setHelpButton ($helpbuttonargs, $function='helpbutton') | |
| getHelpButton () | |
| onQuickFormEvent ($event, $arg, &$caller) | |
| toHtml () | |
| getFrozenHtml () | |
Data Fields | |
| $_helpbutton = '' | |
HTML class for a checkbox type element
Definition at line 10 of file checkbox.php.
| getFrozenHtml | ( | ) |
Returns the disabled field. Accessibility: the return "[ ]" from parent class is not acceptable for screenreader users, and we DO want a label.
Reimplemented from HTML_QuickForm_checkbox.
Definition at line 87 of file checkbox.php.

| getHelpButton | ( | ) |
get html for help button
public
Definition at line 36 of file checkbox.php.
| MoodleQuickForm_checkbox | ( | $ | elementName = null, |
| $ | elementLabel = null, |
||
| $ | text = '', |
||
| $ | attributes = null |
||
| ) |
| onQuickFormEvent | ( | $ | event, |
| $ | arg, | ||
| &$ | caller | ||
| ) |
Called by HTML_QuickForm whenever form event is made on this element
| string | $event | Name of event |
| mixed | $arg | event arguments |
| object | $caller | calling object |
Reimplemented from HTML_QuickForm_checkbox.
Definition at line 50 of file checkbox.php.

| setHelpButton | ( | $ | helpbuttonargs, |
| $ | function = 'helpbutton' |
||
| ) |
set html for help button
public
| array | $help | array of arguments to make a help button |
| string | $function | function name to call to get html |
Definition at line 27 of file checkbox.php.

| toHtml | ( | ) |
Returns the checkbox element in HTML
Reimplemented from HTML_QuickForm_checkbox.
Definition at line 77 of file checkbox.php.
| $_helpbutton = '' |
Definition at line 16 of file checkbox.php.