Actions

API17

JForm::findFieldsByGroup

From Joomla! Documentation

Revision as of 19:58, 27 April 2011 by Doxiki2 (Talk | contribs)

Replacement filing cabinet.png
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.

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.

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

SeeAlso:JForm::findFieldsByGroup [Edit See Also]

User contributed notes

<CodeExamplesForm />