Actions

API17

Difference between revisions of "JForm::findFieldsByGroup"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JForm::findFieldsByGroup|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JForm::findFieldsByGroup|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
protected & JForm::findFieldsByGroup ($group=null, $nested=false)
+
protected & function findFieldsByGroup (
 +
        $group=null
 +
        $nested=false
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' mixed Boolean false on error or array of  objects.
mixed Boolean false on error or array of  objects.
+
* '''Defined''' on line 1278 of libraries/joomla/form/form.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/form/form.php (line 1268)
+
* see source code in [[jplatform:form/form.php#cl-1268|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JForm::findFieldsByGroup source code''' on [[jplatform:form/form.php#cl-1270|BitBucket]]
 +
* {{JVer|11.1}} Class [[JForm/11.1|JForm]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Form/11.1|Form]]
 +
* [[JForm::findFieldsByGroup|Other versions of JForm::findFieldsByGroup]]
 +
{{SeeAlso:JForm::findFieldsByGroup}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JForm::findFieldsByGroup|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JForm::findFieldsByGroup|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JForm/11.1|JForm]]
+
===User contributed notes===
* [[JForm::findFieldsByGroup|Other versions of this method]]
+
{{SeeAlso:JForm::findFieldsByGroup}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JForm]][[Category:JForm::findFieldsByGroup]]</noinclude>
 
<noinclude>[[Category:JForm]][[Category:JForm::findFieldsByGroup]]</noinclude>

Revision as of 20:58, 27 April 2011

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 />