API17:JForm::findFieldsByGroup
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | protected & JForm | + | protected & JForm::findFieldsByGroup ($group=null, $nested=false) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 35: | Line 35: | ||
mixed Boolean false on error or array of objects. | mixed Boolean false on error or array of objects. | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/form/form.php | + | libraries/joomla/form/form.php (line 1268) |
| + | * see source code in [[jplatform:form/form.php#cl-1268|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:33, 23 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JForm::findFieldsByGroup
Description
Method to get an array of <field> elements from the form XML document which are in a control group by name.
Description:JForm::findFieldsByGroup [Edit Descripton]
Since
Synopsis
protected & JForm::findFieldsByGroup ($group=null, $nested=false)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $group | mixed | null | The optional dot-separated form group path on which to find the fields. Null will return all fields. False will return fields not in a group. |
| $nested | boolean | false | True to also include fields in nested groups that are inside of the group for which to find fields. |
Returns
mixed Boolean false on error or array of objects.
Defined in
libraries/joomla/form/form.php (line 1268)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JForm::findFieldsByGroup
Examples
<CodeExamplesForm />
