JFilterInput/1.5

From Joomla! Documentation
< JFilterInput(Difference between revisions)
Jump to: navigation, search
(Bulk upload by Doxiki2)
 
(Layout updates)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|1.5}} JFilterInput==
 +
===Description===
 +
{{Description:JFilterInput}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JFilterInput|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JFilterInput|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JFilterInput}}
 
===Defined in===
 
libraries/joomla/filter/filterinput.php
 
===Subpackage===
 
[[Subpackage Filter/1.5|Filter]]
 
===Extends===
 
[[JObject/1.5|JObject]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JFilterInput::__construct/1.5|__construct]]
 
|[[JFilterInput::__construct/1.5|__construct]]
 
|Constructor for inputFilter class.  
 
|Constructor for inputFilter class.  
 
|-
 
|-
 +
|public
 
|[[JFilterInput::_cleanAttributes/1.5|_cleanAttributes]]
 
|[[JFilterInput::_cleanAttributes/1.5|_cleanAttributes]]
 
|Internal method to strip a tag of certain attributes.  
 
|Internal method to strip a tag of certain attributes.  
 
|-
 
|-
 +
|public
 
|[[JFilterInput::_cleanTags/1.5|_cleanTags]]
 
|[[JFilterInput::_cleanTags/1.5|_cleanTags]]
 
|Internal method to strip a string of certain tags.  
 
|Internal method to strip a string of certain tags.  
 
|-
 
|-
 +
|public
 
|[[JFilterInput::_decode/1.5|_decode]]
 
|[[JFilterInput::_decode/1.5|_decode]]
 
|Try to convert to plaintext.  
 
|Try to convert to plaintext.  
 
|-
 
|-
 +
|public
 
|[[JFilterInput::_remove/1.5|_remove]]
 
|[[JFilterInput::_remove/1.5|_remove]]
 
|Internal method to iteratively remove all unwanted tags and attributes.  
 
|Internal method to iteratively remove all unwanted tags and attributes.  
 
|-
 
|-
 +
|public
 
|[[JFilterInput::checkAttribute/1.5|checkAttribute]]
 
|[[JFilterInput::checkAttribute/1.5|checkAttribute]]
 
|Function to determine if contents of an attribute is safe.  
 
|Function to determine if contents of an attribute is safe.  
 
|-
 
|-
 +
|public
 
|[[JFilterInput::clean/1.5|clean]]
 
|[[JFilterInput::clean/1.5|clean]]
 
|Method to be called by another php script.  
 
|Method to be called by another php script.  
 
|-
 
|-
 +
|public 
 
|[[JFilterInput::getInstance/1.5|getInstance]]
 
|[[JFilterInput::getInstance/1.5|getInstance]]
 
|Returns a reference to an input filter object, only creating it if it doesn't already exist.  
 
|Returns a reference to an input filter object, only creating it if it doesn't already exist.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/filter/filterinput.php
 +
* '''Extends''' [[JObject/1.5|JObject]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.filter.filterinput' );</source>
 
<source lang="php">jimport( 'joomla.filter.filterinput' );</source>
 
===See also===
 
===See also===
 +
* {{JVer|1.5}} '''JFilterInput''' on [http://api.joomla.org/Joomla-Framework/Filter/JFilterInput.html api.joomla.org]
 +
* {{JVer|1.5}} '''JFilterInput source code''' on [[jframework15:filter/filterinput.php|JoomlaCode]]
 +
* {{JVer|1.5}} Subpackage [[Subpackage Filter/1.5|Filter]]
 +
* [[JFilterInput|Other versions of JFilterInput]]
 +
{{SeeAlso:JFilterInput}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JFilterInput|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JFilterInput|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{SeeAlso:JFilterInput}}
+
===User contributed notes===
* [[JFilterInput|Other versions of this class]]
+
* [http://api.joomla.org/Joomla-Framework/Filter/JFilterInput.html JFilterInput on api.joomla.org]
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 59: Line 67:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JFilterInput]]</noinclude>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JFilterInput]]</noinclude>

Revision as of 18:09, 25 April 2011

Joomla 1.5 JFilterInput

Description

Description:JFilterInput [Edit Descripton]

Methods

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

Importing

jimport( 'joomla.filter.filterinput' );

See also

SeeAlso:JFilterInput [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox