API15:JFilterInput
From Joomla! Documentation
(Difference between revisions)
(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> | ||
Latest revision as of 12:36, 25 March 2010
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
[Edit Descripton] Description:JFilterInput
Contents |
[edit] Defined in
libraries/joomla/filter/filterinput.php
[edit] 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 |
[edit] Importing
jimport( 'joomla.filter.filterinput' );
[Edit See Also] SeeAlso:JFilterInput
[edit] Examples
<CodeExamplesForm />
