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


Public Member Functions | |
| MoodleQuickForm_textarea ($elementName=null, $elementLabel=null, $attributes=null) | |
| setHelpButton ($helpbuttonargs, $function='helpbutton') | |
| getHelpButton () | |
| setHiddenLabel ($hiddenLabel) | |
| toHtml () | |
| onQuickFormEvent ($event, $arg, &$caller) | |
| getElementTemplateType () | |
Data Fields | |
| $_formid = '' | |
| $_helpbutton = '' | |
| $_hiddenLabel = false | |
HTML class for a textarea type element
Definition at line 10 of file textarea.php.
Slightly different container template when frozen.
Definition at line 87 of file textarea.php.
| getHelpButton | ( | ) |
get html for help button
public
Definition at line 45 of file textarea.php.
| MoodleQuickForm_textarea | ( | $ | elementName = null, |
| $ | elementLabel = null, |
||
| $ | attributes = null |
||
| ) |
Definition at line 26 of file textarea.php.


| 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_element.
Definition at line 73 of file textarea.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 |
Reimplemented in MoodleQuickForm_htmleditor.
Definition at line 36 of file textarea.php.

| setHiddenLabel | ( | $ | hiddenLabel | ) |
Definition at line 49 of file textarea.php.
| toHtml | ( | ) |
Returns the textarea element in HTML
Reimplemented from HTML_QuickForm_textarea.
Reimplemented in MoodleQuickForm_htmleditor, and MoodleQuickForm_wikieditor.
Definition at line 53 of file textarea.php.

| $_formid = '' |
Definition at line 16 of file textarea.php.
| $_helpbutton = '' |
Definition at line 22 of file textarea.php.
| $_hiddenLabel = false |
Definition at line 24 of file textarea.php.