Actions

API17

Difference between revisions of "JFilterInput::getInstance"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JFilterInput::getInstance/11.1 to API17:JFilterInput::getInstance without leaving a redirect: Robot: Moved page)

Revision as of 17:02, 10 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 JFilterInput::getInstance

Description

Returns an input filter object, only creating it if it doesn't already exist.

Description:JFilterInput::getInstance [Edit Descripton]

public & function getInstance (
        $tagsArray=array
        $attrArray=array
        $tagsMethod=0
        $attrMethod=0
        $xssAuto=1
)
Parameter Type Default Description
$tagsArray array array() List of user-defined tags
$attrArray array array() List of user-defined attributes
$tagsMethod int 0 WhiteList method = 0, BlackList method = 1
$attrMethod int 0 WhiteList method = 0, BlackList method = 1
$xssAuto int 1 Only auto clean essentials = 0, Allow clean blacklisted tags/attr = 1

See also

SeeAlso:JFilterInput::getInstance [Edit See Also]

User contributed notes

<CodeExamplesForm />