API17:JForm::filterField
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JForm::filterField|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JForm::filterField|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | protected | + | protected function filterField ( |
| + | $element | ||
| + | $value | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' mixed The filtered value. | |
| − | mixed The filtered value. | + | * '''Defined''' on line 1051 of libraries/joomla/form/form.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/form/form.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JForm::filterField source code''' on [[jplatform:form/form.php#cl-1043|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JForm/11.1|JForm]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Form/11.1|Form]] | ||
| + | * [[JForm::filterField|Other versions of JForm::filterField]] | ||
| + | {{SeeAlso:JForm::filterField}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JForm::filterField|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JForm::filterField|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 52: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JForm]][[Category:JForm::filterField]]</noinclude> | <noinclude>[[Category:JForm]][[Category:JForm::filterField]]</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::filterField
Description
Method to apply an input filter to a value based on field data.
Description:JForm::filterField [Edit Descripton]
protected function filterField ( $element $value )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $element | string | The XML element object representation of the form field. | |
| $value | mixed | The value to filter for the field. |
See also
-
JForm::filterField source code on BitBucket
-
Class JForm
-
Subpackage Form
- Other versions of JForm::filterField
SeeAlso:JForm::filterField [Edit See Also]
User contributed notes
<CodeExamplesForm />
