Difference between revisions of "JFilterInput::getInstance"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Returns an input filter object, only creating it if it doesn't already exist. | Returns an input filter object, only creating it if it doesn't already exist. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public & function getInstance ( | public & function getInstance ( | ||
Line 54: | Line 52: | ||
* '''Since''' {{JVer|11.1 }} | * '''Since''' {{JVer|11.1 }} | ||
* '''Referenced by''' | * '''Referenced by''' | ||
− | ** [[JInputCookie::__construct | + | ** [[API17:JInputCookie::__construct|JInputCookie::__construct]] |
− | ** [[JInput::__construct | + | ** [[API17:JInput::__construct|JInput::__construct]] |
− | ** [[JInputCLI::__construct | + | ** [[API17:JInputCLI::__construct|JInputCLI::__construct]] |
− | ** [[JRequest::_cleanVar | + | ** [[API17:JRequest::_cleanVar|JRequest::_cleanVar]] |
− | ** [[JUpdate::_endElement | + | ** [[API17:JUpdate::_endElement|JUpdate::_endElement]] |
− | ** [[JDocumentHTML::_fetchTemplate | + | ** [[API17:JDocumentHTML::_fetchTemplate|JDocumentHTML::_fetchTemplate]] |
− | ** [[JInstallerLanguage::_install | + | ** [[API17:JInstallerLanguage::_install|JInstallerLanguage::_install]] |
− | ** [[JEditor::_loadEditor | + | ** [[API17:JEditor::_loadEditor|JEditor::_loadEditor]] |
− | ** [[JUpdaterCollection::_startElement | + | ** [[API17:JUpdaterCollection::_startElement|JUpdaterCollection::_startElement]] |
− | ** [[JInstallerComponent::discover_install | + | ** [[API17:JInstallerComponent::discover_install|JInstallerComponent::discover_install]] |
− | ** [[JForm::filterField | + | ** [[API17:JForm::filterField|JForm::filterField]] |
− | ** [[JSessionStorage::getInstance | + | ** [[API17:JSessionStorage::getInstance|JSessionStorage::getInstance]] |
− | ** [[JController::getInstance | + | ** [[API17:JController::getInstance|JController::getInstance]] |
− | ** [[JApplicationHelper::getPath | + | ** [[API17:JApplicationHelper::getPath|JApplicationHelper::getPath]] |
− | ** [[JInstallerTemplate::install | + | ** [[API17:JInstallerTemplate::install|JInstallerTemplate::install]] |
− | ** [[JInstallerPlugin::install | + | ** [[API17:JInstallerPlugin::install|JInstallerPlugin::install]] |
− | ** [[JInstallerPackage::install | + | ** [[API17:JInstallerPackage::install|JInstallerPackage::install]] |
− | ** [[JInstallerLibrary::install | + | ** [[API17:JInstallerLibrary::install|JInstallerLibrary::install]] |
− | ** [[JInstallerComponent::install | + | ** [[API17:JInstallerComponent::install|JInstallerComponent::install]] |
− | ** [[JInstallerModule::install | + | ** [[API17:JInstallerModule::install|JInstallerModule::install]] |
− | ** [[JInstallerFile::install | + | ** [[API17:JInstallerFile::install|JInstallerFile::install]] |
− | ** [[JToolBar::loadButtonType | + | ** [[API17:JToolBar::loadButtonType|JToolBar::loadButtonType]] |
− | ** [[JParameter::loadElement | + | ** [[API17:JParameter::loadElement|JParameter::loadElement]] |
− | ** [[JInstallerTemplate::loadLanguage | + | ** [[API17:JInstallerTemplate::loadLanguage|JInstallerTemplate::loadLanguage]] |
− | ** [[JInstallerLibrary::loadLanguage | + | ** [[API17:JInstallerLibrary::loadLanguage|JInstallerLibrary::loadLanguage]] |
− | ** [[JInstallerComponent::loadLanguage | + | ** [[API17:JInstallerComponent::loadLanguage|JInstallerComponent::loadLanguage]] |
− | ** [[JInstallerFile::loadLanguage | + | ** [[API17:JInstallerFile::loadLanguage|JInstallerFile::loadLanguage]] |
− | ** [[JDocumentError::render | + | ** [[API17:JDocumentError::render|JDocumentError::render]] |
− | ** [[JInstallerComponent::uninstall | + | ** [[API17:JInstallerComponent::uninstall|JInstallerComponent::uninstall]] |
− | ** [[JInstallerLibrary::update | + | ** [[API17:JInstallerLibrary::update|JInstallerLibrary::update]] |
− | ** [[JInstallerComponent::update | + | ** [[API17:JInstallerComponent::update|JInstallerComponent::update]] |
− | ** [[JInstallerLanguage::update | + | ** [[API17:JInstallerLanguage::update|JInstallerLanguage::update]] |
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JFilterInput::getInstance source code''' on [[jplatform:filter/filterinput.php#cl-96|BitBucket]] | * {{JVer|11.1}} '''JFilterInput::getInstance source code''' on [[jplatform:filter/filterinput.php#cl-96|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JFilterInput | + | * {{JVer|11.1}} Class [[API17:JFilterInput|JFilterInput]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Filter | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filter|Filter]] |
− | * [[JFilterInput::getInstance|Other versions of JFilterInput::getInstance]] | + | * [[API17:JFilterInput::getInstance|Other versions of JFilterInput::getInstance]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFilterInput::getInstance | category=JFilterInput::getInstance | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 106: | Line 102: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:02, 24 March 2017
The "API17" 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.
JFilterInput::getInstance[edit]
Description[edit]
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[edit]
- JFilterInput::getInstance source code on BitBucket
- Class JFilterInput
- Subpackage Filter
- Other versions of JFilterInput::getInstance
User contributed notes[edit]
Code Examples[edit]