API17

JForm::findFieldsByGroup

From Joomla! Documentation

Revision as of 20:58, 27 April 2011 by Doxiki2 (talk | contribs) (Updated to r1448:247ba8d88526)

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.

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

Template:Description:JForm::findFieldsByGroup [Edit Descripton]

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[edit]

Template:SeeAlso:JForm::findFieldsByGroup [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />