API17

API17:JForm::findFieldsByGroup

From Joomla! Documentation

Joomla 11.1 JForm::findFieldsByGroup

Description

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 Joomla 11.1

See also


User contributed notes

Code Examples