Difference between revisions of "JFilterInput"
From Joomla! Documentation
(New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JFilterInput}}
===Defined in...) |
|||
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 12:36, 25 March 2010
The "API15" 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.
[Edit Descripton] Template:Description:JFilterInput
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 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[edit]
jimport( 'joomla.filter.filterinput' );
[Edit See Also] Template:SeeAlso:JFilterInput
Examples[edit]
<CodeExamplesForm />