Difference between revisions of "JFilterInput::getInstance"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JFilterInput::getInstance|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JFilterInput::getInstance|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public & | + | public & function getInstance ( |
+ | $tagsArray=array | ||
+ | $attrArray=array | ||
+ | $tagsMethod=0 | ||
+ | $attrMethod=0 | ||
+ | $xssAuto=1 | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 47: | Line 50: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' object The object. | |
− | object The object. | + | * '''Defined''' on line 104 of libraries/joomla/filter/filterinput.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/filter/filterinput.php | + | * '''Referenced by''' |
− | + | ** [[JInputCookie::__construct/11.1|JInputCookie::__construct]] | |
− | * [[JInputCookie | + | ** [[JInput::__construct/11.1|JInput::__construct]] |
− | * [[JInput | + | ** [[JInputCLI::__construct/11.1|JInputCLI::__construct]] |
− | * [[JInputCLI | + | ** [[JRequest::_cleanVar/11.1|JRequest::_cleanVar]] |
− | * [[JRequest | + | ** [[JUpdate::_endElement/11.1|JUpdate::_endElement]] |
− | * [[JUpdate | + | ** [[JDocumentHTML::_fetchTemplate/11.1|JDocumentHTML::_fetchTemplate]] |
− | * [[JDocumentHTML | + | ** [[JInstallerLanguage::_install/11.1|JInstallerLanguage::_install]] |
− | * [[JInstallerLanguage | + | ** [[JEditor::_loadEditor/11.1|JEditor::_loadEditor]] |
− | * [[JEditor | + | ** [[JUpdaterCollection::_startElement/11.1|JUpdaterCollection::_startElement]] |
− | * [[JUpdaterCollection | + | ** [[JInstallerComponent::discover_install/11.1|JInstallerComponent::discover_install]] |
− | * [[JInstallerComponent | + | ** [[JForm::filterField/11.1|JForm::filterField]] |
− | * [[JForm | + | ** [[JSessionStorage::getInstance/11.1|JSessionStorage::getInstance]] |
− | * [[JSessionStorage | + | ** [[JController::getInstance/11.1|JController::getInstance]] |
− | * [[JController | + | ** [[JApplicationHelper::getPath/11.1|JApplicationHelper::getPath]] |
− | * [[JApplicationHelper | + | ** [[JInstallerTemplate::install/11.1|JInstallerTemplate::install]] |
− | * [[JInstallerTemplate | + | ** [[JInstallerPlugin::install/11.1|JInstallerPlugin::install]] |
− | * [[JInstallerPlugin | + | ** [[JInstallerPackage::install/11.1|JInstallerPackage::install]] |
− | * [[JInstallerPackage | + | ** [[JInstallerLibrary::install/11.1|JInstallerLibrary::install]] |
− | * [[JInstallerLibrary | + | ** [[JInstallerComponent::install/11.1|JInstallerComponent::install]] |
− | * [[JInstallerComponent | + | ** [[JInstallerModule::install/11.1|JInstallerModule::install]] |
− | * [[JInstallerModule | + | ** [[JInstallerFile::install/11.1|JInstallerFile::install]] |
− | * [[JInstallerFile | + | ** [[JToolBar::loadButtonType/11.1|JToolBar::loadButtonType]] |
− | * [[JToolBar | + | ** [[JParameter::loadElement/11.1|JParameter::loadElement]] |
− | * [[JParameter | + | ** [[JInstallerTemplate::loadLanguage/11.1|JInstallerTemplate::loadLanguage]] |
− | * [[JInstallerTemplate | + | ** [[JInstallerLibrary::loadLanguage/11.1|JInstallerLibrary::loadLanguage]] |
− | * [[JInstallerLibrary | + | ** [[JInstallerComponent::loadLanguage/11.1|JInstallerComponent::loadLanguage]] |
− | * [[JInstallerComponent | + | ** [[JInstallerFile::loadLanguage/11.1|JInstallerFile::loadLanguage]] |
− | * [[JInstallerFile | + | ** [[JDocumentError::render/11.1|JDocumentError::render]] |
− | * [[JDocumentError | + | ** [[JInstallerComponent::uninstall/11.1|JInstallerComponent::uninstall]] |
− | * [[JInstallerComponent | + | ** [[JInstallerLibrary::update/11.1|JInstallerLibrary::update]] |
− | * [[JInstallerLibrary | + | ** [[JInstallerComponent::update/11.1|JInstallerComponent::update]] |
− | * [[JInstallerComponent | + | ** [[JInstallerLanguage::update/11.1|JInstallerLanguage::update]] |
− | * [[JInstallerLanguage | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JFilterInput::getInstance source code''' on [[jplatform:filter/filterinput.php#cl-96|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JFilterInput/11.1|JFilterInput]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Filter/11.1|Filter]] | ||
+ | * [[JFilterInput::getInstance|Other versions of JFilterInput::getInstance]] | ||
+ | {{SeeAlso:JFilterInput::getInstance}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JFilterInput::getInstance|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JFilterInput::getInstance|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 99: | Line 103: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JFilterInput]][[Category:JFilterInput::getInstance]]</noinclude> | <noinclude>[[Category:JFilterInput]][[Category:JFilterInput::getInstance]]</noinclude> |
Revision as of 20:57, 27 April 2011
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.
Template: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 |
- 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
Template:SeeAlso:JFilterInput::getInstance [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />