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 )
|$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
- JForm::findFieldsByGroup source code on BitBucket
- Class JForm
- Subpackage Form
- Other versions of JForm::findFieldsByGroup
User contributed notes