JFilterInput: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/filter/filterinput.php | libraries/joomla/filter/filterinput.php | ||
| Line 26: | Line 24: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFilterInput | category=JFilterInput | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 00:37, 25 March 2017
Defined in
libraries/joomla/filter/filterinput.php
Methods
| Method name | Description |
|---|---|
| __construct | Constructor for inputFilter class. Only first parameter is required. |
| getInstance | Returns a reference to 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
jimport( 'joomla.filter.filterinput' );
Examples
Code Examples