| API | Package | Subpackage | Class | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Filter |
JFilterInput |
JFilterInput |
Never | Work in Progress |
JFilterInout is a class for filtering input from any data source<p>Forked from the php input filter library by: Daniel Morris <dan@rootcube.com> Original Contributors: Gianpaolo Racca, Ghislain Picard, Marco Wandschneider, Chris Tobin and Andrew Eddie.</p>
| Method | Description |
|---|---|
__construct | Constructor for inputFilter class. Only first parameter is required. |
checkAttribute | Function to determine if contents of an attribute is safe |
clean | Method to be called by another php script. Processes for XSS and specified bad code. |
getInstance | Returns a reference to an input filter object, only creating it if it doesn’t already exist.<p>This method must be invoked as: <pre> $filter = & JFilterInput::getInstance();</pre></p> |
_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 |