API17

API17:JRequest:: cleanArray

From Joomla! Documentation

Joomla 11.1 JRequest::_cleanArray

Description

Adds an array to the GLOBALS array and checks that the GLOBALS variable is not being attacked.


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.
  • Returns
  • Defined on line 512 of libraries/joomla/environment/request.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples