API17:JRequest:: cleanArray
From Joomla! Documentation
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]
Since
Synopsis
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
Defined in
libraries/joomla/environment/request.php (line 511)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
