API17

JRequest:: cleanArray: Difference between revisions

From Joomla! Documentation

m JoomlaWikiBot moved page JRequest:: cleanArray/11.1 to API17:JRequest:: cleanArray without leaving a redirect: Robot: Moved page
m preparing for archive only
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
Adds an array to the GLOBALS array and checks that the GLOBALS variable is not being attacked.  
Adds an array to the GLOBALS array and checks that the GLOBALS variable is not being attacked.  


{{Description:JRequest::_cleanArray}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JRequest::_cleanArray|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public static function _cleanArray (
public static function _cleanArray (
Line 37: Line 35:
===See also===
===See also===
* {{JVer|11.1}} '''JRequest::_cleanArray source code''' on [[jplatform:environment/request.php#cl-504|BitBucket]]
* {{JVer|11.1}} '''JRequest::_cleanArray source code''' on [[jplatform:environment/request.php#cl-504|BitBucket]]
* {{JVer|11.1}} Class [[JRequest/11.1|JRequest]]
* {{JVer|11.1}} Class [[API17:JRequest|JRequest]]
* {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
* [[JRequest::_cleanArray|Other versions of JRequest::_cleanArray]]
* [[API17:JRequest::_cleanArray|Other versions of JRequest::_cleanArray]]
{{SeeAlso:JRequest::_cleanArray}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRequest::_cleanArray|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JRequest::_cleanArray
category=JRequest::_cleanArray
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
Line 55: Line 51:
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JRequest]][[Category:JRequest::_cleanArray]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:35, 25 March 2017

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