API17:JRequest:: cleanArray
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JRequest::_cleanArray|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JRequest::_cleanArray|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function _cleanArray ( |
| + | &$array | ||
| + | $globalise=false | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' | |
| − | + | * '''Defined''' on line 512 of libraries/joomla/environment/request.php | |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/environment/request.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JRequest::_cleanArray source code''' on [[jplatform:environment/request.php#cl-504|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JRequest/11.1|JRequest]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]] | ||
| + | * [[JRequest::_cleanArray|Other versions of JRequest::_cleanArray]] | ||
| + | {{SeeAlso:JRequest::_cleanArray}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JRequest::_cleanArray|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JRequest::_cleanArray|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 53: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JRequest]][[Category:JRequest::_cleanArray]]</noinclude> | <noinclude>[[Category:JRequest]][[Category:JRequest::_cleanArray]]</noinclude> | ||
Revision as of 21:32, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JRequest::_cleanArray
Description
Adds an array to the GLOBALS array and checks that the GLOBALS variable is not being attacked.
Description:JRequest:: cleanArray [Edit Descripton]
public static function _cleanArray ( &$array $globalise=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| &$array | array | $array Array to clean. | |
| $globalise | boolean | false | True if the array is to be added to the GLOBALS. |
See also
-
JRequest::_cleanArray source code on BitBucket
-
Class JRequest
-
Subpackage Environment
- Other versions of JRequest::_cleanArray
SeeAlso:JRequest:: cleanArray [Edit See Also]
User contributed notes
<CodeExamplesForm />
