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


Public Member Functions | |
| HTML_QuickForm_link ($elementName=null, $elementLabel=null, $href=null, $text=null, $attributes=null) | |
| setName ($name) | |
| getName () | |
| setValue ($value) | |
| getValue () | |
| setHref ($href) | |
| toHtml () | |
| getFrozenHtml () | |
Data Fields | |
| $_text = "" | |
HTML class for a link type field
| getFrozenHtml | ( | ) |
Returns the value of field without HTML tags (in this case, value is changed to a mask)
Reimplemented from HTML_QuickForm_static.
| getName | ( | ) |
Returns the element name
Reimplemented from HTML_QuickForm_static.
Definition at line 97 of file link.php.

| getValue | ( | ) |
Returns the value of the form element
Reimplemented from HTML_QuickForm_element.
| HTML_QuickForm_link | ( | $ | elementName = null, |
| $ | elementLabel = null, |
||
| $ | href = null, |
||
| $ | text = null, |
||
| $ | attributes = null |
||
| ) |
Class constructor
| string | $elementLabel | (optional)Link label |
| string | $href | (optional)Link href |
| string | $text | (optional)Link display text |
| mixed | $attributes | (optional)Either a typical HTML attribute string or an associative array |
Definition at line 60 of file link.php.

| setHref | ( | $ | href | ) |
| setName | ( | $ | name | ) |
Sets the input field name
| string | $name | Input field name attribute |
Reimplemented from HTML_QuickForm_static.
Definition at line 81 of file link.php.

| setValue | ( | $ | value | ) |
Sets value for textarea element
| string | $value | Value for password element |
Reimplemented from HTML_QuickForm_static.
| toHtml | ( | ) |
Returns the textarea element in HTML
Reimplemented from HTML_QuickForm_static.
Definition at line 164 of file link.php.

| $_text = "" |
Reimplemented from HTML_QuickForm_static.