◆ __construct()
Method to instantiate the form field object.
- Paramètres
-
FOFForm | $form | The form to attach to the form field object. |
- Depuis
- 2.0
Références $form.
◆ __get()
Method to get certain otherwise inaccessible properties from the form field object.
- Paramètres
-
string | $name | The property name for which to the the value. |
- Renvoie
- mixed The property value or null.
- Depuis
- 2.0
Références $buttons, $filter, $label, $name, $options, $value, null, et value.
◆ getButtons()
Returns the HTML for the buttons to be rendered in the filter row, next to the text input filter, or null if this element should render no text input filter buttons.
- Renvoie
- string|null HTML code or null if nothing is to be rendered
- Depuis
- 2.0
Références null.
◆ getFieldName()
getFieldName |
( |
|
$fieldName | ) |
|
|
protected |
Method to get the field name used.
- Paramètres
-
string | $fieldName | The field element name. |
- Renvoie
- string The field name
- Depuis
- 2.0
◆ getFilter()
Returns the HTML for a text filter to be rendered in the filter row, or null if this element should render no text input filter.
- Renvoie
- string|null HTML code or null if nothing is to be rendered
- Depuis
- 2.0
Références null.
◆ getFilterSource()
getFilterSource |
( |
|
$filterSource | ) |
|
|
protected |
Return the key of the filter value in the model state or, if it's not set, the name of the field.
- Paramètres
-
string | $filterSource | The filter source value to return |
- Renvoie
- string
Références $name.
◆ getHeader()
Returns the HTML for the header row, or null if this element should render no header element
- Renvoie
- string|null HTML code or null if nothing is to be rendered
- Depuis
- 2.0
Références null.
◆ getId()
getId |
( |
|
$fieldId, |
|
|
|
$fieldName |
|
) |
| |
|
protected |
Method to get the id used for the field input tag.
- Paramètres
-
string | $fieldId | The field element id. |
string | $fieldName | The field element name. |
- Renvoie
- string The id to be used for the field input tag.
- Depuis
- 2.0
Références $id.
◆ getLabel()
◆ getName()
Method to get the name used for the field input tag.
- Paramètres
-
string | $fieldName | The field element name. |
- Renvoie
- string The name to be used for the field input tag.
- Depuis
- 2.0
Références $groups, et $name.
◆ getOptions()
Returns the JHtml options for a drop-down filter. Do not include an empty option, it is added automatically.
- Renvoie
- array The JHtml options for a drop-down filter
- Depuis
- 2.0
◆ getSortable()
Is this a sortable field?
- Renvoie
- boolean True if it's sortable
◆ getValue()
Get the filter value for this header field
- Renvoie
- mixed The filter value
◆ setForm()
Method to attach a JForm object to the field.
- Paramètres
-
FOFForm | $form | The JForm object to attach to the form field. |
- Renvoie
- FOFFormHeader The form field object so that the method can be used in a chain.
- Depuis
- 2.0
Références $form.
◆ setup()
setup |
( |
SimpleXMLElement |
$element, |
|
|
|
$value, |
|
|
|
$group = null |
|
) |
| |
Method to attach a FOFForm 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.
- Depuis
- 2.0
Références $class, $id, $name, description, name, null, et value.
◆ $buttons
◆ $description
◆ $element
◆ $fieldname
◆ $filter
◆ $filterSource
◆ $form
◆ $group
◆ $header
◆ $label
◆ $name
◆ $options
◆ $sortable
◆ $tdwidth
◆ $type
◆ $value
La documentation de cette classe a été générée à partir du fichier suivant :