API15

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...)
(No difference)

Revision as of 17:21, 22 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 />