auFormHTML: Difference between revisions
Appearance
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... |
Misterhaan (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
==Usage== | ==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. | 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. This can also be used to add custom fields, but they will have to be validated manually. | ||
==Public Functions== | ==Public Functions== | ||
Line 18: | Line 18: | ||
* $title= Short text to display in the label column. | * $title= Short text to display in the label column. | ||
* $html= HTML to display in the field column. | * $html= HTML to display in the field column. | ||
Latest revision as of 08:38, 23 April 2008
The auFormHTML class is part of the auLib package. It is defined in the auForm.php file.
- Hierarchy
- auFormElement
- auFormHTML
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. This can also be used to add custom fields, but they will have to be validated manually.
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.