![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de JFormFieldSubform:Fonctions membres publiques | |
| __get ($name) | |
| __set ($name, $value) | |
| setup (SimpleXMLElement $element, $value, $group=null) | |
| loadSubForm () | |
Fonctions membres protégées | |
| getInput () | |
| getName ($fieldName) | |
Attributs protégés | |
| $type = 'Subform' | |
| $formsource | |
| $min = 0 | |
| $max = 1000 | |
| $layout = 'joomla.form.field.subform.default' | |
| $groupByFieldset = false | |
| $buttons = array('add' => true, 'remove' => true, 'move' => true) | |
Fonctions membres privées | |
| loadSubFormData (Form &$subForm) | |
The Field to load the form inside current form
with all attributes: <field name="field-name" type="subform" formsource="path/to/form.xml" min="1" max="3" multiple="true" buttons="add,remove,move" layout="joomla.form.field.subform.repeatable-table" groupbyfieldset="false" component="com_example" client="site" label="Field Label" description="Field Description">
| __get | ( | $name | ) |
Method to get certain otherwise inaccessible properties from the form field object.
| string | $name | The property name for which to get the value. |
Références $name.
| __set | ( | $name, | |
| $value | |||
| ) |
Method to set certain otherwise inaccessible properties of the form field object.
| string | $name | The property name for which to set the value. |
| mixed | $value | The value of the property. |
Références $name, $value, JPATH_ROOT, et null.
|
protected |
Method to get the field input markup.
For each rendering process of a subform element, we want to have a separate unique subform id present to could distinguish the eventhandlers regarding adding/moving/removing rows from nested subforms from their parents.
Références $buttons, $control, $data, $html, $name, $renderer, $tmpl, name, et null.
|
protected |
| loadSubForm | ( | ) |
|
private |
Binds given data to the subform and its elements.
| Form | &$subForm | Form instance of the subform. |
Références $control, $i, $value, Form\bind(), Form\getName(), name, et value.
| setup | ( | SimpleXMLElement | $element, |
| $value, | |||
$group = null |
|||
| ) |
Method to attach a JForm object to the field.
| 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. |
Which buttons to show in miltiple mode
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |