Jump to content

auFormText: Difference between revisions

From auWiki
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 edit summary
 
Line 18: Line 18:
* $title= Short text to display in the label column.
* $title= Short text to display in the label column.
* $text = Text to display in the field column.
* $text = Text to display in the field column.
===WriteHTML===
<code>WriteHTML</code>
Writes out the HTML for this form element.
===GetLabel===
<code>GetLabel</code>
Gets the label (title) of the element.
* @return = The title of the element.

Latest revision as of 14:40, 22 April 2008

The auFormText class is part of the auLib package. It is defined in the auForm.php file.

Hierarchy

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.