API17:JForm::findFieldsByGroup
From Joomla! Documentation
(Difference between revisions)
(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> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | protected & | + | protected & function findFieldsByGroup ( |
| + | $group=null | ||
| + | $nested=false | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''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 |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/form/form.php | + | |
| − | * | + | |
| − | + | ||
===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> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<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
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.
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
See also
-
JForm::findFieldsByGroup source code on BitBucket
-
Class JForm
-
Subpackage Form
- Other versions of JForm::findFieldsByGroup
SeeAlso:JForm::findFieldsByGroup [Edit See Also]
User contributed notes
<CodeExamplesForm />
