API17:JFilterInput
From Joomla! Documentation
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.
[Edit Descripton] Description:JFilterInput
Defined in
libraries/joomla/filter/filterinput.php
- see source code in BitBucket
Subpackage
Extends
Extended by
Methods
| Method name | Description |
|---|---|
| __construct | Constructor for inputFilter class. |
| checkAttribute | Function to determine if contents of an attribute is safe. |
| clean | Method to be called by another php script. |
| getInstance | Returns an input filter object, only creating it if it doesn't already exist. |
| _cleanAttributes | Internal method to strip a tag of certain attributes. |
| _cleanTags | Internal method to strip a string of certain tags. |
| _decode | Try to convert to plaintext. |
| _remove | Internal method to iteratively remove all unwanted tags and attributes. |
Importing
jimport( 'joomla.filter.filterinput' );
See also
- JFilterInput source code in BitBucket
- Other versions of this class
SeeAlso:JFilterInput [Edit See Also]
Examples
<CodeExamplesForm />
