API17

API17:JRequest:: cleanArray

From Joomla! Documentation

Revision as of 22:03, 11 May 2013 by JoomlaWikiBot (talk | contribs) (User contributed notes: moving preparation)

Joomla 11.1 JRequest::_cleanArray

Description

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

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

See also

Template:SeeAlso:JRequest:: cleanArray [Edit See Also]

User contributed notes

<CodeExamplesForm />