API17:JRequest::setVar
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::setVar
Description
Set a variabe in one of the request variables.
Description:JRequest::setVar [Edit Descripton]
Since
Synopsis
public static JRequest::setVar ($name, $value=null, $hash= 'method', $overwrite=true)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | Name | |
| $value | string | null | Value |
| $hash | string | 'method' | Hash |
| $overwrite | boolean | true | Boolean |
Returns
string Previous value
Defined in
libraries/joomla/environment/request.php (line 287)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
