JFilterInput::clean: Difference between revisions
From Joomla! Documentation
m JoomlaWikiBot moved page JFilterInput::clean/11.1 to API17:JFilterInput::clean without leaving a redirect: Robot: Moved page |
m preparing for archive only |
||
| (4 intermediate revisions by 2 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 function clean ( | public function clean ( | ||
| Line 34: | Line 32: | ||
* '''Returns''' | * '''Returns''' | ||
* '''Defined''' on line 131 of libraries/joomla/filter/filterinput.php | * '''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}} '''JFilterInput::clean source code''' on [[jplatform:filter/filterinput.php#cl-123|BitBucket]] | ||
* {{JVer|11.1}} Class [[JFilterInput | * {{JVer|11.1}} Class [[API17:JFilterInput|JFilterInput]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Filter | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filter|Filter]] | ||
* [[JFilterInput::clean|Other versions of JFilterInput::clean]] | * [[API17:JFilterInput::clean|Other versions of JFilterInput::clean]] | ||
===User contributed notes=== | ===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=* | ||
| Line 54: | Line 51: | ||
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