Actions

API17

Difference between revisions of "JFilterInput::getInstance"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
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 (line 103)
+
* '''Referenced by'''
* see source code in [[jplatform:filter/filterinput.php#cl-103|BitBucket]]
+
** [[JInputCookie::__construct/11.1|JInputCookie::__construct]]
===Referenced by===
+
** [[JInput::__construct/11.1|JInput::__construct]]
* [[JInputCookie::__construct/11.1|JInputCookie::__construct]]
+
** [[JInputCLI::__construct/11.1|JInputCLI::__construct]]
* [[JInput::__construct/11.1|JInput::__construct]]
+
** [[JRequest::_cleanVar/11.1|JRequest::_cleanVar]]
* [[JInputCLI::__construct/11.1|JInputCLI::__construct]]
+
** [[JUpdate::_endElement/11.1|JUpdate::_endElement]]
* [[JRequest::_cleanVar/11.1|JRequest::_cleanVar]]
+
** [[JDocumentHTML::_fetchTemplate/11.1|JDocumentHTML::_fetchTemplate]]
* [[JUpdate::_endElement/11.1|JUpdate::_endElement]]
+
** [[JInstallerLanguage::_install/11.1|JInstallerLanguage::_install]]
* [[JDocumentHTML::_fetchTemplate/11.1|JDocumentHTML::_fetchTemplate]]
+
** [[JEditor::_loadEditor/11.1|JEditor::_loadEditor]]
* [[JInstallerLanguage::_install/11.1|JInstallerLanguage::_install]]
+
** [[JUpdaterCollection::_startElement/11.1|JUpdaterCollection::_startElement]]
* [[JEditor::_loadEditor/11.1|JEditor::_loadEditor]]
+
** [[JInstallerComponent::discover_install/11.1|JInstallerComponent::discover_install]]
* [[JUpdaterCollection::_startElement/11.1|JUpdaterCollection::_startElement]]
+
** [[JForm::filterField/11.1|JForm::filterField]]
* [[JInstallerComponent::discover_install/11.1|JInstallerComponent::discover_install]]
+
** [[JSessionStorage::getInstance/11.1|JSessionStorage::getInstance]]
* [[JForm::filterField/11.1|JForm::filterField]]
+
** [[JController::getInstance/11.1|JController::getInstance]]
* [[JSessionStorage::getInstance/11.1|JSessionStorage::getInstance]]
+
** [[JApplicationHelper::getPath/11.1|JApplicationHelper::getPath]]
* [[JController::getInstance/11.1|JController::getInstance]]
+
** [[JInstallerTemplate::install/11.1|JInstallerTemplate::install]]
* [[JApplicationHelper::getPath/11.1|JApplicationHelper::getPath]]
+
** [[JInstallerPlugin::install/11.1|JInstallerPlugin::install]]
* [[JInstallerTemplate::install/11.1|JInstallerTemplate::install]]
+
** [[JInstallerPackage::install/11.1|JInstallerPackage::install]]
* [[JInstallerPlugin::install/11.1|JInstallerPlugin::install]]
+
** [[JInstallerLibrary::install/11.1|JInstallerLibrary::install]]
* [[JInstallerPackage::install/11.1|JInstallerPackage::install]]
+
** [[JInstallerComponent::install/11.1|JInstallerComponent::install]]
* [[JInstallerLibrary::install/11.1|JInstallerLibrary::install]]
+
** [[JInstallerModule::install/11.1|JInstallerModule::install]]
* [[JInstallerComponent::install/11.1|JInstallerComponent::install]]
+
** [[JInstallerFile::install/11.1|JInstallerFile::install]]
* [[JInstallerModule::install/11.1|JInstallerModule::install]]
+
** [[JToolBar::loadButtonType/11.1|JToolBar::loadButtonType]]
* [[JInstallerFile::install/11.1|JInstallerFile::install]]
+
** [[JParameter::loadElement/11.1|JParameter::loadElement]]
* [[JToolBar::loadButtonType/11.1|JToolBar::loadButtonType]]
+
** [[JInstallerTemplate::loadLanguage/11.1|JInstallerTemplate::loadLanguage]]
* [[JParameter::loadElement/11.1|JParameter::loadElement]]
+
** [[JInstallerLibrary::loadLanguage/11.1|JInstallerLibrary::loadLanguage]]
* [[JInstallerTemplate::loadLanguage/11.1|JInstallerTemplate::loadLanguage]]
+
** [[JInstallerComponent::loadLanguage/11.1|JInstallerComponent::loadLanguage]]
* [[JInstallerLibrary::loadLanguage/11.1|JInstallerLibrary::loadLanguage]]
+
** [[JInstallerFile::loadLanguage/11.1|JInstallerFile::loadLanguage]]
* [[JInstallerComponent::loadLanguage/11.1|JInstallerComponent::loadLanguage]]
+
** [[JDocumentError::render/11.1|JDocumentError::render]]
* [[JInstallerFile::loadLanguage/11.1|JInstallerFile::loadLanguage]]
+
** [[JInstallerComponent::uninstall/11.1|JInstallerComponent::uninstall]]
* [[JDocumentError::render/11.1|JDocumentError::render]]
+
** [[JInstallerLibrary::update/11.1|JInstallerLibrary::update]]
* [[JInstallerComponent::uninstall/11.1|JInstallerComponent::uninstall]]
+
** [[JInstallerComponent::update/11.1|JInstallerComponent::update]]
* [[JInstallerLibrary::update/11.1|JInstallerLibrary::update]]
+
** [[JInstallerLanguage::update/11.1|JInstallerLanguage::update]]
* [[JInstallerComponent::update/11.1|JInstallerComponent::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 100: 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 19:57, 27 April 2011

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