API17

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.  
  
{{Description:JFilterInput::getInstance}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JFilterInput::getInstance|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<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/11.1|JInputCookie::__construct]]
+
** [[API17:JInputCookie::__construct|JInputCookie::__construct]]
** [[JInput::__construct/11.1|JInput::__construct]]
+
** [[API17:JInput::__construct|JInput::__construct]]
** [[JInputCLI::__construct/11.1|JInputCLI::__construct]]
+
** [[API17:JInputCLI::__construct|JInputCLI::__construct]]
** [[JRequest::_cleanVar/11.1|JRequest::_cleanVar]]
+
** [[API17:JRequest::_cleanVar|JRequest::_cleanVar]]
** [[JUpdate::_endElement/11.1|JUpdate::_endElement]]
+
** [[API17:JUpdate::_endElement|JUpdate::_endElement]]
** [[JDocumentHTML::_fetchTemplate/11.1|JDocumentHTML::_fetchTemplate]]
+
** [[API17:JDocumentHTML::_fetchTemplate|JDocumentHTML::_fetchTemplate]]
** [[JInstallerLanguage::_install/11.1|JInstallerLanguage::_install]]
+
** [[API17:JInstallerLanguage::_install|JInstallerLanguage::_install]]
** [[JEditor::_loadEditor/11.1|JEditor::_loadEditor]]
+
** [[API17:JEditor::_loadEditor|JEditor::_loadEditor]]
** [[JUpdaterCollection::_startElement/11.1|JUpdaterCollection::_startElement]]
+
** [[API17:JUpdaterCollection::_startElement|JUpdaterCollection::_startElement]]
** [[JInstallerComponent::discover_install/11.1|JInstallerComponent::discover_install]]
+
** [[API17:JInstallerComponent::discover_install|JInstallerComponent::discover_install]]
** [[JForm::filterField/11.1|JForm::filterField]]
+
** [[API17:JForm::filterField|JForm::filterField]]
** [[JSessionStorage::getInstance/11.1|JSessionStorage::getInstance]]
+
** [[API17:JSessionStorage::getInstance|JSessionStorage::getInstance]]
** [[JController::getInstance/11.1|JController::getInstance]]
+
** [[API17:JController::getInstance|JController::getInstance]]
** [[JApplicationHelper::getPath/11.1|JApplicationHelper::getPath]]
+
** [[API17:JApplicationHelper::getPath|JApplicationHelper::getPath]]
** [[JInstallerTemplate::install/11.1|JInstallerTemplate::install]]
+
** [[API17:JInstallerTemplate::install|JInstallerTemplate::install]]
** [[JInstallerPlugin::install/11.1|JInstallerPlugin::install]]
+
** [[API17:JInstallerPlugin::install|JInstallerPlugin::install]]
** [[JInstallerPackage::install/11.1|JInstallerPackage::install]]
+
** [[API17:JInstallerPackage::install|JInstallerPackage::install]]
** [[JInstallerLibrary::install/11.1|JInstallerLibrary::install]]
+
** [[API17:JInstallerLibrary::install|JInstallerLibrary::install]]
** [[JInstallerComponent::install/11.1|JInstallerComponent::install]]
+
** [[API17:JInstallerComponent::install|JInstallerComponent::install]]
** [[JInstallerModule::install/11.1|JInstallerModule::install]]
+
** [[API17:JInstallerModule::install|JInstallerModule::install]]
** [[JInstallerFile::install/11.1|JInstallerFile::install]]
+
** [[API17:JInstallerFile::install|JInstallerFile::install]]
** [[JToolBar::loadButtonType/11.1|JToolBar::loadButtonType]]
+
** [[API17:JToolBar::loadButtonType|JToolBar::loadButtonType]]
** [[JParameter::loadElement/11.1|JParameter::loadElement]]
+
** [[API17:JParameter::loadElement|JParameter::loadElement]]
** [[JInstallerTemplate::loadLanguage/11.1|JInstallerTemplate::loadLanguage]]
+
** [[API17:JInstallerTemplate::loadLanguage|JInstallerTemplate::loadLanguage]]
** [[JInstallerLibrary::loadLanguage/11.1|JInstallerLibrary::loadLanguage]]
+
** [[API17:JInstallerLibrary::loadLanguage|JInstallerLibrary::loadLanguage]]
** [[JInstallerComponent::loadLanguage/11.1|JInstallerComponent::loadLanguage]]
+
** [[API17:JInstallerComponent::loadLanguage|JInstallerComponent::loadLanguage]]
** [[JInstallerFile::loadLanguage/11.1|JInstallerFile::loadLanguage]]
+
** [[API17:JInstallerFile::loadLanguage|JInstallerFile::loadLanguage]]
** [[JDocumentError::render/11.1|JDocumentError::render]]
+
** [[API17:JDocumentError::render|JDocumentError::render]]
** [[JInstallerComponent::uninstall/11.1|JInstallerComponent::uninstall]]
+
** [[API17:JInstallerComponent::uninstall|JInstallerComponent::uninstall]]
** [[JInstallerLibrary::update/11.1|JInstallerLibrary::update]]
+
** [[API17:JInstallerLibrary::update|JInstallerLibrary::update]]
** [[JInstallerComponent::update/11.1|JInstallerComponent::update]]
+
** [[API17:JInstallerComponent::update|JInstallerComponent::update]]
** [[JInstallerLanguage::update/11.1|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/11.1|JFilterInput]]
+
* {{JVer|11.1}} Class [[API17:JFilterInput|JFilterInput]]
* {{JVer|11.1}} Subpackage [[Subpackage_Filter/11.1|Filter]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filter|Filter]]
* [[JFilterInput::getInstance|Other versions of JFilterInput::getInstance]]
+
* [[API17:JFilterInput::getInstance|Other versions of JFilterInput::getInstance]]
{{SeeAlso:JFilterInput::getInstance}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JFilterInput::getInstance|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JFilterInput::getInstance
 
category=JFilterInput::getInstance
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 106: Line 102:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JFilterInput]][[Category:JFilterInput::getInstance]]</noinclude>
+
<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.

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

See also[edit]


User contributed notes[edit]

Code Examples[edit]