|
| __get ($name) |
|
| __set ($name, $value) |
|
| setup (\SimpleXMLElement $element, $value, $group=null) |
|
| __construct ($form=null) |
|
| __get ($name) |
|
| __set ($name, $value) |
|
| setForm (Form $form) |
|
| setup (\SimpleXMLElement $element, $value, $group=null) |
|
| setValue ($value) |
|
| getAttribute ($name, $default=null) |
|
| getDataAttributes () |
|
| renderDataAttributes () |
|
| render ($layoutId, $data=array()) |
|
| renderField ($options=array()) |
|
| filter ($value, $group=null, Registry $input=null) |
|
| validate ($value, $group=null, Registry $input=null) |
|
| postProcess ($value, $group=null, Registry $input=null) |
|
| setDatabase (DatabaseInterface $db) |
|
Ordering field.
- Depuis
- 3.2
◆ __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()
◆ getItemId()
Retrieves the current Item's Id.
- Renvoie
- integer The current item ID
- Depuis
- 3.2
◆ getQuery()
◆ setup()
setup |
( |
\SimpleXMLElement |
$element, |
|
|
|
$value, |
|
|
|
$group = null |
|
) |
| |
Method to attach a Form 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
- FormField::setup()
- Depuis
- 3.2
Références $result, et $value.
◆ $contentType
◆ $type
La documentation de cette classe a été générée à partir du fichier suivant :