FormUI Library - Create interfaces for plugins
FormUI This is the main class, it generates the form itself; FormContainer A form-related class that can contain form elements, derived by FormUI and FormControlFieldset; FormValidators Catalog of validation functions, it can be extended if needed; FormControl Parent class to controls, it contains basic functionalities overrode in each control's class; FormControl* Every control needs a FormControl* class, FormUI literally looks for example, FormControlCheckbox.
Located in /system/classes/formui.php (line 15)
| Class | Description |
|---|---|
| FormUI | FormUI Class This will generate the <form> structure and call subsequent controls |
| FormControlTag | A control to display a single tag for output via FormUI |
| FormControlFieldset | A fieldset control based on FormControl for output via a FormUI. |
| FormControlWrapper | A div wrapper control based on FormContainer for output via FormUI |
| FormControlTabs | A control to display a tab splitter based on FormControl for output via a FormUI. |
Append a control to the end of this container
Generate a hash for this container
Produce HTML output for all this fieldset and all contained controls
Returns an associative array of controls
Retreive the Theme used to display the form component
Returns an associative array of the controls' values
Returns true if any of the controls this container contains should be stored in userinfo
Insert a control into the container
Moves a control to target's position to which we add $int if specified That integer is useful to move before or move after the target
Moves a control after the target control
Moves a control before the target control
Return the HTML/script required for all contained controls. Do it only once.
Removes a target control from this group (can be the form or a fieldset)
Replaces a target control by the supplied control
Store each contained control's value under the control's specified key.
Runs any attached validation functions to check validation of each control contained in this fieldset.
Magic property getter, returns the specified control
Documentation generated on Thu, 30 Oct 2008 20:31:11 +0100 by phpDocumentor 1.3.2