JFilterInput::clean: Difference between revisions
From Joomla! Documentation
Betweenbrain (talk | contribs) |
m clean up |
||
| 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}} | {{subst:Description:JFilterInput::clean}} | ||
<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}} | {{subst:SeeAlso:JFilterInput::clean}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 15:28, 24 March 2017
JFilterInput::clean
Description
Method to be called by another php script. Processes for XSS and specified bad code.
{{subst:Description:JFilterInput::clean}}
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
JFilterInput::clean source code on BitBucket
Class JFilterInput
Subpackage Filter- Other versions of JFilterInput::clean
{{subst:SeeAlso:JFilterInput::clean}}
User contributed notes
<CodeExamplesForm />