Category Edit field..
- Depuis
- 1.6
◆ __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.6
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.6
Références $name, et $value.
◆ getInput()
Method to get the field input markup for a generic list. Use the multiple attribute to enable multiselect.
- Renvoie
- string The field input markup.
- Depuis
- 3.6
Références $attr, $class, $customGroupText, $html, $options, $value, ENT_COMPAT, htmlspecialchars, name, size, et value.
◆ getOptions()
Method to get a list of categories that respects access controls and can be used for either category assignment or parent category assignment in edit screens. Use the parent element to indicate that the field will be used for assigning parent categories.
- Renvoie
- array The field option objects.
- Depuis
- 1.6
Références $db, $extension, $groups, $i, $jinput, $language, $n, $name, $option, $options, $published, $query, $row, $user, language, et JError\raiseWarning().
◆ 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 $return, et $value.
◆ $allowAdd
◆ $customPrefix
◆ $type
La documentation de cette classe a été générée à partir du fichier suivant :