JFilterInput
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.
JFilterInput[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor for inputFilter class. |
public static | checkAttribute | Function to determine if contents of an attribute are safe. |
public | clean | Method to be called by another php script. |
public | getInstance | Returns an input filter object, only creating it if it doesn't already exist. |
protected | _cleanAttributes | Internal method to strip a tag of certain attributes. |
protected | _cleanTags | Internal method to strip a string of certain tags. |
protected | _decode | Try to convert to plaintext. |
protected | _remove | Internal method to iteratively remove all unwanted tags and attributes. |
- Defined in libraries/joomla/filter/filterinput.php
- Extends JObject
Importing[edit]
jimport( 'joomla.filter.filterinput' );
See also[edit]
JFilterInput source code on BitBucket
Subpackage Filter
- Other versions of JFilterInput
User contributed notes[edit]
Code Examples[edit]