API17:JFormField
From Joomla! Documentation
JFormField
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Method to instantiate the form field object. |
| public | __get | Method to get certain otherwise inaccessible properties from the form field object. |
| public | setForm | Method to attach a object to the field. |
| public | setup | Method to attach a object to the field. |
| protected | getFieldName | Method to get the field name used. |
| protected | getId | Method to get the id used for the field input tag. |
| protected | getInput | Method to get the field input markup. |
| protected | getLabel | Method to get the field label markup. |
| protected | getName | Method to get the name used for the field input tag. |
| protected | getTitle | Method to get the field title. |
- Defined in libraries/joomla/form/formfield.php
- Extended by
- JFormFieldCalendar
- JFormFieldCheckbox
- JFormFieldCheckboxes
- JFormFieldComponentLayout
- JFormFieldEditor
- JFormFieldEMail
- JFormFieldFile
- JFormFieldGroupedList
- JFormFieldHidden
- JFormFieldList
- JFormFieldMedia
- JFormFieldModuleLayout
- JFormFieldPassword
- JFormFieldRadio
- JFormFieldRules
- JFormFieldSpacer
- JFormFieldText
- JFormFieldTextarea
- JFormFieldUser
- JFormFieldUsergroup
Importing
jimport( 'joomla.form.formfield' );
See also
JFormField source code on BitBucket
Subpackage Form- Other versions of JFormField
User contributed notes
Code Examples