API17:JRequest::set
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JRequest::set
Description
Sets a request variable.
Description:JRequest::set [Edit Descripton]
Synopsis
public static JRequest::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 in
libraries/joomla/environment/request.php (line 416)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
