Form Field class for the Joomla Platform. Supports a one line text field.
1.7.0
◆ __get()
Method to get certain otherwise inaccessible properties from the form field object.
- Paramètres
-
string | $name | The property name for which to get the value. |
- Renvoie
- mixed The property value or null.
- Depuis
- 3.2
Références $name.
◆ __set()
Method to set certain otherwise inaccessible properties of the form field object.
- Paramètres
-
string | $name | The property name for which to set the value. |
mixed | $value | The value of the property. |
- Renvoie
- void
- Depuis
- 3.2
Références $name, et $value.
◆ getInput()
◆ getLayoutData()
Method to get the data to be passed to the layout for rendering.
- Renvoie
- array
- Depuis
- 3.7
Références $data, et $options.
◆ getOptions()
Method to get the field options.
- Renvoie
- array The field option objects.
- Depuis
- 3.4
Références $option, et $options.
◆ getSuggestions()
Method to get the field suggestions.
- Renvoie
- array The field option objects.
- Depuis
- 3.2
- Obsolète:
- 4.0 Use getOptions instead
◆ setup()
setup |
( |
SimpleXMLElement |
$element, |
|
|
|
$value, |
|
|
|
$group = null |
|
) |
| |
Method to attach a JForm object to the field.
- Paramètres
-
SimpleXMLElement | $element | The SimpleXMLElement object representing the <field> tag for the form field object. |
mixed | $value | The form field value to validate. |
string | $group | The field name group control value. This acts as an array container for the field. For example if the field has name="foo" and the group value is set to "bar" then the full field name would end up being "bar[foo]". |
- Renvoie
- boolean True on success.
- Voir également
- JFormField::setup()
- Depuis
- 3.2
Références $key, $value, et Language\getName().
◆ $dirname
◆ $inputmode
◆ $layout
◆ $maxLength
◆ $type
La documentation de cette classe a été générée à partir du fichier suivant :