API17:JForm::filterField
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | protected | + | protected JForm::filterField ($element, $value) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 35: | Line 35: | ||
mixed The filtered value. | mixed The filtered value. | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/form/form.php | + | libraries/joomla/form/form.php (line 1041) |
| + | * see source code in [[jplatform:form/form.php#cl-1041|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:33, 23 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]
Since
Synopsis
protected JForm::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. |
Returns
mixed The filtered value.
Defined in
libraries/joomla/form/form.php (line 1041)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
