JRequest:: cleanArray
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JRequest::_cleanArray[edit]
Description[edit]
Adds an array to the GLOBALS array and checks that the GLOBALS variable is not being attacked.
Template:Description:JRequest:: cleanArray [Edit Descripton]
Since[edit]
Synopsis[edit]
public static JRequest::_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. |
Returns[edit]
Defined in[edit]
libraries/joomla/environment/request.php (line 511)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JRequest:: cleanArray
Examples[edit]
<CodeExamplesForm />