Actions

API17

JFilterInput::getInstance

From Joomla! Documentation

Revision as of 20:57, 27 April 2011 by Doxiki2 (Talk | contribs)

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 />