API17:JForm::filter
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JForm::filter|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JForm::filter|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function filter ( |
| + | $data | ||
| + | $group=null | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' mixed boolean True on sucess. | |
| − | mixed boolean True on sucess. | + | * '''Defined''' on line 189 of libraries/joomla/form/form.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/form/form.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JForm::filter source code''' on [[jplatform:form/form.php#cl-181|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JForm/11.1|JForm]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Form/11.1|Form]] | ||
| + | * [[JForm::filter|Other versions of JForm::filter]] | ||
| + | {{SeeAlso:JForm::filter}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JForm::filter|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JForm::filter|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::filter]]</noinclude> | <noinclude>[[Category:JForm]][[Category:JForm::filter]]</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::filter
Description
Method to filter the form data.
Description:JForm::filter [Edit Descripton]
public function filter ( $data $group=null )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $data | array | An array of field values to filter. | |
| $group | string | null | The dot-separated form group path on which to filter the fields. |
See also
-
JForm::filter source code on BitBucket
-
Class JForm
-
Subpackage Form
- Other versions of JForm::filter
SeeAlso:JForm::filter [Edit See Also]
User contributed notes
<CodeExamplesForm />
