JFilterInput::clean: Difference between revisions
From Joomla! Documentation
Layout updates |
m preparing for archive only |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JFilterInput::clean== | =={{JVer|11.1}} JFilterInput::clean== | ||
===Description=== | ===Description=== | ||
Method to be called by another php script. | Method to be called by another php script. Processes for XSS and specified bad code. | ||
<source lang="php"> | <source lang="php"> | ||
public | public function clean ( | ||
$source | |||
$type='string' | |||
) | |||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 30: | Line 30: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' | |||
* '''Defined''' on line 131 of libraries/joomla/filter/filterinput.php | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JFilterInput::clean source code''' on [[jplatform:filter/filterinput.php#cl-123|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JFilterInput|JFilterInput]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Filter|Filter]] | |||
* | * [[API17:JFilterInput::clean|Other versions of JFilterInput::clean]] | ||
* [[JFilterInput::clean|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFilterInput::clean | category=JFilterInput::clean | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:02, 25 March 2017
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
JFilterInput::clean source code on BitBucket
Class JFilterInput
Subpackage Filter- Other versions of JFilterInput::clean
User contributed notes
Code Examples