API17:JFilterInput::getInstance
From Joomla! Documentation
JFilterInput::getInstance
Description
Returns an input filter object, only creating it if it doesn't already exist.
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 |
- Returns object The object.
- Defined on line 104 of libraries/joomla/filter/filterinput.php
- Since

- Referenced by
- JInputCookie::__construct
- JInput::__construct
- JInputCLI::__construct
- JRequest::_cleanVar
- JUpdate::_endElement
- JDocumentHTML::_fetchTemplate
- JInstallerLanguage::_install
- JEditor::_loadEditor
- JUpdaterCollection::_startElement
- JInstallerComponent::discover_install
- JForm::filterField
- JSessionStorage::getInstance
- JController::getInstance
- JApplicationHelper::getPath
- JInstallerTemplate::install
- JInstallerPlugin::install
- JInstallerPackage::install
- JInstallerLibrary::install
- JInstallerComponent::install
- JInstallerModule::install
- JInstallerFile::install
- JToolBar::loadButtonType
- JParameter::loadElement
- JInstallerTemplate::loadLanguage
- JInstallerLibrary::loadLanguage
- JInstallerComponent::loadLanguage
- JInstallerFile::loadLanguage
- JDocumentError::render
- JInstallerComponent::uninstall
- JInstallerLibrary::update
- JInstallerComponent::update
- JInstallerLanguage::update
See also
JFilterInput::getInstance source code on BitBucket
Class JFilterInput
Subpackage Filter- Other versions of JFilterInput::getInstance
User contributed notes
Code Examples