JFilterInput::clean: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
Betweenbrain (talk | contribs) |
||
| 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. | ||
{{Description:JFilterInput::clean}} | {{Description:JFilterInput::clean}} | ||
| Line 34: | Line 34: | ||
* '''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]] | ||
Revision as of 14:26, 24 September 2014
JFilterInput::clean
Description
Method to be called by another php script. Processes for XSS and specified bad code.
Template:Description:JFilterInput::clean [Edit Descripton]
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
Template:SeeAlso:JFilterInput::clean [Edit See Also]
User contributed notes
<CodeExamplesForm />