JRequest::set
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JRequest::set[edit]
Description[edit]
Sets a request variable.
Template:Description:JRequest::set [Edit Descripton]
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[edit]
- JRequest::set source code on BitBucket
- Class JRequest
- Subpackage Environment
- Other versions of JRequest::set
Template:SeeAlso:JRequest::set [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />