API17

JFilterInput::clean: Difference between revisions

From Joomla! Documentation

m preparing for archive only
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
Method to be called by another php script. Processes for XSS and specified bad code.
Method to be called by another php script. Processes for XSS and specified bad code.


{{Description:JFilterInput::clean}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JFilterInput::clean|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public function clean (
public function clean (
Line 40: Line 38:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filter|Filter]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filter|Filter]]
* [[API17:JFilterInput::clean|Other versions of JFilterInput::clean]]
* [[API17:JFilterInput::clean|Other versions of JFilterInput::clean]]
{{SeeAlso:JFilterInput::clean}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JFilterInput::clean|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JFilterInput::clean
category=JFilterInput::clean
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 03:02, 25 March 2017

Joomla 11.1 JFilterInput::clean

Description

Method to be called by another php script. Processes for XSS and specified bad code.


public function clean (
        $source
        $type='string'
)
Parameter Type Default Description
$source
$type 'string'
  • Returns
  • Defined on line 131 of libraries/joomla/filter/filterinput.php

See also


User contributed notes

Code Examples