Actions

API17

Difference between revisions of "JFilterInput"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/filter/filterinput.php
 
libraries/joomla/filter/filterinput.php
 +
* see source code in [[jplatform:filter/filterinput.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Filter/11.1|Filter]]
 
[[Subpackage Filter/11.1|Filter]]
Line 45: Line 46:
 
<source lang="php">jimport( 'joomla.filter.filterinput' );</source>
 
<source lang="php">jimport( 'joomla.filter.filterinput' );</source>
 
===See also===
 
===See also===
 +
* JFilterInput source code in [[jplatform:filter/filterinput.php|BitBucket]]
 
* [[JFilterInput|Other versions of this class]]
 
* [[JFilterInput|Other versions of this class]]
 
{{SeeAlso:JFilterInput}}
 
{{SeeAlso:JFilterInput}}

Revision as of 16:54, 23 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.

[Edit Descripton] Description:JFilterInput

Defined in

libraries/joomla/filter/filterinput.php

Subpackage

Filter

Extends

JObject

Extended by

Methods

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

Importing

jimport( 'joomla.filter.filterinput' );

See also

SeeAlso:JFilterInput [Edit See Also]

Examples

<CodeExamplesForm />