Jump to content

auFormHTML

From auWiki
Revision as of 12:59, 18 April 2008 by Misterhaan (talk | contribs) (New page: {{RightTOC}} FormHTML Category:Class Category:PHP The auFormHTML class is part of the auLib package. It is defined in the auForm.php file. ;Hierarchy * [[au...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Hierarchy

Usage

This class is used to add HTML 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 auFormHTML

new auFormHTML($title, $html)

Creates a new form HTML element.

  • $title= Short text to display in the label column.
  • $html= HTML 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.