JFilterInput
From Joomla! Documentation
The "API16" 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.
Defined in[edit]
libraries/joomla/filter/filterinput.php
Methods[edit]
Method name | Description |
---|---|
__construct | Constructor for inputFilter class. Only first parameter is required. |
getInstance | Returns an input filter object, only creating it if it doesn't already exist. |
clean | Method to be called by another php script. Processes for XSS and specified bad code. |
checkAttribute | Function to determine if contents of an attribute is safe |
Importing[edit]
jimport( 'joomla.filter.filterinput' );
Examples[edit]
Code Examples[edit]