JFilterInput: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JFilterInput}}
===Defined in... |
No edit summary |
||
| Line 24: | Line 24: | ||
|Function to determine if contents of an attribute is safe | |Function to determine if contents of an attribute is safe | ||
|} | |} | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.filter.filterinput' );</source> | <source lang="php">jimport( 'joomla.filter.filterinput' );</source> | ||
Revision as of 17:36, 25 March 2010
[Edit Descripton] Template:Description:JFilterInput
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' );
[Edit See Also] Template:SeeAlso:JFilterInput
Examples
<CodeExamplesForm />