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


Public Member Functions | |
| HTML_QuickForm_textarea ($elementName=null, $elementLabel=null, $attributes=null) | |
| setName ($name) | |
| getName () | |
| setValue ($value) | |
| getValue () | |
| setWrap ($wrap) | |
| setRows ($rows) | |
| setCols ($cols) | |
| toHtml () | |
| getFrozenHtml () | |
Data Fields | |
| $_value = null | |
HTML class for a textarea type field
Definition at line 33 of file textarea.php.
| getFrozenHtml | ( | ) |
Returns the value of field without HTML tags (in this case, value is changed to a mask)
Reimplemented from HTML_QuickForm_element.
Reimplemented in MoodleQuickForm_htmleditor.
Definition at line 208 of file textarea.php.


| getName | ( | ) |
Returns the element name
Reimplemented from HTML_QuickForm_element.
Definition at line 91 of file textarea.php.


| getValue | ( | ) |
Returns the value of the form element
Reimplemented from HTML_QuickForm_element.
Definition at line 122 of file textarea.php.

| HTML_QuickForm_textarea | ( | $ | elementName = null, |
| $ | elementLabel = null, |
||
| $ | attributes = null |
||
| ) |
Class constructor
| string | Input field name attribute |
| mixed | Label(s) for a field |
| mixed | Either a typical HTML attribute string or an associative array |
Definition at line 58 of file textarea.php.


| setCols | ( | $ | cols | ) |
Sets width in cols for textarea element
| string | $cols | Width expressed in cols |
Definition at line 170 of file textarea.php.

| setName | ( | $ | name | ) |
Sets the input field name
| string | $name | Input field name attribute |
Reimplemented from HTML_QuickForm_element.
Definition at line 76 of file textarea.php.

| setRows | ( | $ | rows | ) |
Sets height in rows for textarea element
| string | $rows | Height expressed in rows |
Definition at line 154 of file textarea.php.

| setValue | ( | $ | value | ) |
Sets value for textarea element
| string | $value | Value for textarea element |
Reimplemented from HTML_QuickForm_element.
Definition at line 107 of file textarea.php.
| setWrap | ( | $ | wrap | ) |
Sets wrap type for textarea element
| string | $wrap | Wrap type |
Definition at line 138 of file textarea.php.

| toHtml | ( | ) |
Returns the textarea element in HTML
Reimplemented from HTML_Common.
Reimplemented in MoodleQuickForm_htmleditor, MoodleQuickForm_textarea, and MoodleQuickForm_wikieditor.
Definition at line 185 of file textarea.php.

| $_value = null |
Definition at line 43 of file textarea.php.