A base class from which form controls to be used with FormUI can descend
Located in /system/classes/formui.php (line 686)
| Class | Description |
|---|---|
| FormControlNoSave | A control prototype that does not save its data |
| FormControlText | A text control based on FormControl for output via a FormUI. |
| FormControlTextMulti | A multiple-slot text control based on FormControl for output via a FormUI. |
| FormControlSelect | A select control based on FormControl for output via a FormUI. |
| FormControlTextArea | A textarea control based on FormControl for output via a FormUI. |
| FormControlCheckbox | A checkbox control based on FormControl for output via a FormUI. |
| FormControlHidden | A hidden field control based on FormControl for output via a FormUI. |
FormControl constructor - set initial settings of the control
Add a validation function to this control
Multiple parameters are passed as parameters to the validation function
Return a checksum representing this control
Return the HTML construction of the control.
Abstract function.
Set the default value of this control from options or userinfo if the default value isn't explicitly set on creation
Return the template name associated to this control, whether set explicitly or by class
Return the theme used to output this control and perform validation if required.
Returns true if this control should be stored as userinfo
Move this control after the target In the end, this will use FormUI::move()
Move this control before the target In the end, this will use FormUI::move()
Return the HTML/script required for this type of control.
Abstract function.
Remove this controls from the form
Removes a validation function from this control
Store this control's value under the control's specified key.
Runs any attached validation functions to check validation of this control.
Magic function __get returns properties for this object.
Potential valid properties: field: A valid unique name for this control in HTML. value: The value of the control, whether the default or submitted in the form
Magic property setter for FormControl and its descendants
Documentation generated on Thu, 30 Oct 2008 20:31:12 +0100 by phpDocumentor 1.3.2