auFormText: Difference between revisions
Appearance
Misterhaan (talk | contribs) New page: {{RightTOC}} FormText Category:Class Category:PHP The auFormText class is part of the auLib package. It is defined in the auForm.php file. ;Hierarchy * [[au... |
(No difference)
|
Revision as of 12:17, 17 April 2008
The auFormText class is part of the auLib package. It is defined in the auForm.php file.
- Hierarchy
- auFormElement
- auFormText
Usage
This class is used to add text to a form that doesn’t get sent to the server but still displays. Create an object from this class and add it to an auFormContainer object.
Public Functions
new auFormText
new auFormText($title, $text)
Creates a new form text element.
- $title= Short text to display in the label column.
- $text = Text to display in the field column.
WriteHTML
WriteHTML
Writes out the HTML for this form element.
GetLabel
GetLabel
Gets the label (title) of the element.
- @return = The title of the element.