API17

JFilterInput: Difference between revisions

From Joomla! Documentation

m moving preparation
m preparing for archive only
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
=={{JVer|11.1}} JFilterInput==
=={{JVer|11.1}} JFilterInput==
===Description===
===Description===
{{Description:JFilterInput}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JFilterInput|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Methods===
===Methods===
{| class="wikitable sortable"
{| class="wikitable sortable"
Line 54: Line 52:
* {{JVer|11.1}} Subpackage [[API17:Subpackage Filter|Filter]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage Filter|Filter]]
* [[API17:JFilterInput|Other versions of JFilterInput]]
* [[API17:JFilterInput|Other versions of JFilterInput]]
{{SeeAlso:JFilterInput}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JFilterInput|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JFilterInput
category=JFilterInput
category=CodeExample
namespace=CodeExample
category=ClassExample
category=ClassExample
include=*
include=*

Latest revision as of 03:02, 25 March 2017

Joomla 11.1 JFilterInput

Description

Methods

Visibility Method name Description
public __construct Constructor for inputFilter class.
public static checkAttribute Function to determine if contents of an attribute are safe.
public clean Method to be called by another php script.
public getInstance Returns an input filter object, only creating it if it doesn't already exist.
protected _cleanAttributes Internal method to strip a tag of certain attributes.
protected _cleanTags Internal method to strip a string of certain tags.
protected _decode Try to convert to plaintext.
protected _remove Internal method to iteratively remove all unwanted tags and attributes.
  • Defined in libraries/joomla/filter/filterinput.php
  • Extends JObject

Importing

jimport( 'joomla.filter.filterinput' );

See also


User contributed notes

Code Examples