API17

API17:JRequest::set

From Joomla! Documentation

Joomla 11.1 JRequest::set

Description

Sets a request variable.


public static function set (
        $array
        $hash= 'default'
        $overwrite=true
)
Parameter Type Default Description
$array array An associative array of key-value pairs.
$hash string 'default' The request variable to set (POST, GET, FILES, METHOD).
$overwrite boolean true If true and an existing key is found, the value is overwritten, otherwise it is ignored.
  • Returns
  • Defined on line 417 of libraries/joomla/environment/request.php
  • Referenced by

See also


User contributed notes

Code Examples