JRequest::set
Sets a request variable.
Signature
public function set(array
$array,
[string
$hash = 'default',
[boolean
$overwrite = true]] )
Parameters
-
$array
- An associative array of key-value pairs.
-
$hash
- The request variable to set (POST, GET, FILES, METHOD).
-
$overwrite
- If true and an existing key is found, the value is overwritten, otherwise it is ignored.
Returns
- void