API17

API17:JRequest:: cleanArray

From Joomla! Documentation

Revision as of 16:00, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JRequest::_cleanArray

Description

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

{{subst:Description:JRequest::_cleanArray}}

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

{{subst:SeeAlso:JRequest::_cleanArray}}

User contributed notes

<CodeExamplesForm />