JForm::findFieldsByGroup
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JForm::findFieldsByGroup[edit]
Description[edit]
Method to get an array of <field> elements from the form XML document which are in a control group by name.
protected & function 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 on line 1278 of libraries/joomla/form/form.php
- Since
See also[edit]
- JForm::findFieldsByGroup source code on BitBucket
- Class JForm
- Subpackage Form
- Other versions of JForm::findFieldsByGroup
User contributed notes[edit]
Code Examples[edit]