API17

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>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public & JFilterInput->getInstance ($tagsArray=array(), $attrArray=array(), $tagsMethod=0, $attrMethod=0, $xssAuto=1)
+
public & function getInstance (
 +
        $tagsArray=array
 +
        $attrArray=array
 +
        $tagsMethod=0
 +
        $attrMethod=0
 +
        $xssAuto=1
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 47: Line 50:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' object The  object.
object The  object.
+
* '''Defined''' on line 104 of libraries/joomla/filter/filterinput.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/filter/filterinput.php
+
* '''Referenced by'''
===Referenced by===
+
** [[JInputCookie::__construct/11.1|JInputCookie::__construct]]
* [[JInputCookie/__construct/11.1|JInputCookie::__construct]]
+
** [[JInput::__construct/11.1|JInput::__construct]]
* [[JInput/__construct/11.1|JInput::__construct]]
+
** [[JInputCLI::__construct/11.1|JInputCLI::__construct]]
* [[JInputCLI/__construct/11.1|JInputCLI::__construct]]
+
** [[JRequest::_cleanVar/11.1|JRequest::_cleanVar]]
* [[JRequest/_cleanVar/11.1|JRequest::_cleanVar]]
+
** [[JUpdate::_endElement/11.1|JUpdate::_endElement]]
* [[JUpdate/_endElement/11.1|JUpdate::_endElement]]
+
** [[JDocumentHTML::_fetchTemplate/11.1|JDocumentHTML::_fetchTemplate]]
* [[JDocumentHTML/_fetchTemplate/11.1|JDocumentHTML::_fetchTemplate]]
+
** [[JInstallerLanguage::_install/11.1|JInstallerLanguage::_install]]
* [[JInstallerLanguage/_install/11.1|JInstallerLanguage::_install]]
+
** [[JEditor::_loadEditor/11.1|JEditor::_loadEditor]]
* [[JEditor/_loadEditor/11.1|JEditor::_loadEditor]]
+
** [[JUpdaterCollection::_startElement/11.1|JUpdaterCollection::_startElement]]
* [[JUpdaterCollection/_startElement/11.1|JUpdaterCollection::_startElement]]
+
** [[JInstallerComponent::discover_install/11.1|JInstallerComponent::discover_install]]
* [[JInstallerComponent/discover_install/11.1|JInstallerComponent::discover_install]]
+
** [[JForm::filterField/11.1|JForm::filterField]]
* [[JForm/filterField/11.1|JForm::filterField]]
+
** [[JSessionStorage::getInstance/11.1|JSessionStorage::getInstance]]
* [[JSessionStorage/getInstance/11.1|JSessionStorage::getInstance]]
+
** [[JController::getInstance/11.1|JController::getInstance]]
* [[JController/getInstance/11.1|JController::getInstance]]
+
** [[JApplicationHelper::getPath/11.1|JApplicationHelper::getPath]]
* [[JApplicationHelper/getPath/11.1|JApplicationHelper::getPath]]
+
** [[JInstallerTemplate::install/11.1|JInstallerTemplate::install]]
* [[JInstallerTemplate/install/11.1|JInstallerTemplate::install]]
+
** [[JInstallerPlugin::install/11.1|JInstallerPlugin::install]]
* [[JInstallerPlugin/install/11.1|JInstallerPlugin::install]]
+
** [[JInstallerPackage::install/11.1|JInstallerPackage::install]]
* [[JInstallerPackage/install/11.1|JInstallerPackage::install]]
+
** [[JInstallerLibrary::install/11.1|JInstallerLibrary::install]]
* [[JInstallerLibrary/install/11.1|JInstallerLibrary::install]]
+
** [[JInstallerComponent::install/11.1|JInstallerComponent::install]]
* [[JInstallerComponent/install/11.1|JInstallerComponent::install]]
+
** [[JInstallerModule::install/11.1|JInstallerModule::install]]
* [[JInstallerModule/install/11.1|JInstallerModule::install]]
+
** [[JInstallerFile::install/11.1|JInstallerFile::install]]
* [[JInstallerFile/install/11.1|JInstallerFile::install]]
+
** [[JToolBar::loadButtonType/11.1|JToolBar::loadButtonType]]
* [[JToolBar/loadButtonType/11.1|JToolBar::loadButtonType]]
+
** [[JParameter::loadElement/11.1|JParameter::loadElement]]
* [[JParameter/loadElement/11.1|JParameter::loadElement]]
+
** [[JInstallerTemplate::loadLanguage/11.1|JInstallerTemplate::loadLanguage]]
* [[JInstallerTemplate/loadLanguage/11.1|JInstallerTemplate::loadLanguage]]
+
** [[JInstallerLibrary::loadLanguage/11.1|JInstallerLibrary::loadLanguage]]
* [[JInstallerLibrary/loadLanguage/11.1|JInstallerLibrary::loadLanguage]]
+
** [[JInstallerComponent::loadLanguage/11.1|JInstallerComponent::loadLanguage]]
* [[JInstallerComponent/loadLanguage/11.1|JInstallerComponent::loadLanguage]]
+
** [[JInstallerFile::loadLanguage/11.1|JInstallerFile::loadLanguage]]
* [[JInstallerFile/loadLanguage/11.1|JInstallerFile::loadLanguage]]
+
** [[JDocumentError::render/11.1|JDocumentError::render]]
* [[JDocumentError/render/11.1|JDocumentError::render]]
+
** [[JInstallerComponent::uninstall/11.1|JInstallerComponent::uninstall]]
* [[JInstallerComponent/uninstall/11.1|JInstallerComponent::uninstall]]
+
** [[JInstallerLibrary::update/11.1|JInstallerLibrary::update]]
* [[JInstallerLibrary/update/11.1|JInstallerLibrary::update]]
+
** [[JInstallerComponent::update/11.1|JInstallerComponent::update]]
* [[JInstallerComponent/update/11.1|JInstallerComponent::update]]
+
** [[JInstallerLanguage::update/11.1|JInstallerLanguage::update]]
* [[JInstallerLanguage/update/11.1|JInstallerLanguage::update]]
 
 
===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>
* [[JFilterInput/11.1|JFilterInput]]
+
===User contributed notes===
* [[JFilterInput::getInstance|Other versions of this method]]
 
{{SeeAlso:JFilterInput::getInstance}}
 
===Examples===
 
 
<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.

Joomla 11.1 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

See also[edit]

Template:SeeAlso:JFilterInput::getInstance [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />