API17:JFormField
From Joomla! Documentation
[Edit Descripton] Template:Description:JFormField
Defined in
libraries/joomla/form/formfield.php
Subpackage
Extends
Extended by
- JFormFieldCalendar
- JFormFieldCheckbox
- JFormFieldCheckboxes
- JFormFieldComponentLayout
- JFormFieldEditor
- JFormFieldEMail
- JFormFieldFile
- JFormFieldGroupedList
- JFormFieldHidden
- JFormFieldList
- JFormFieldMedia
- JFormFieldModuleLayout
- JFormFieldPassword
- JFormFieldRadio
- JFormFieldRules
- JFormFieldSpacer
- JFormFieldText
- JFormFieldTextarea
- JFormFieldUser
- JFormFieldUsergroup
Methods
| Method name | Description |
|---|---|
| __construct | Method to instantiate the form field object. |
| __get | Method to get certain otherwise inaccessible properties from the form field object. |
| setForm | Method to attach a object to the field. |
| setup | Method to attach a object to the field. |
| getFieldName | Method to get the field name used. |
| getId | Method to get the id used for the field input tag. |
| getInput | Method to get the field input markup. |
| getLabel | Method to get the field label markup. |
| getName | Method to get the name used for the field input tag. |
| getTitle | Method to get the field title. |
Importing
jimport( 'joomla.form.formfield' );
See also
Template:SeeAlso:JFormField [Edit See Also]
Examples
<CodeExamplesForm />