API17

JForm::filterField

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JForm::filterField[edit]

Description[edit]

Method to apply an input filter to a value based on field data.


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.
  • Returns mixed The filtered value.
  • Defined on line 1051 of libraries/joomla/form/form.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]