API17:JRequest::setVar
From Joomla! Documentation
JRequest::setVar
Description
Set a variabe in one of the request variables.
public static function 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 on line 288 of libraries/joomla/environment/request.php
- Since

- Referenced by
See also
JRequest::setVar source code on BitBucket
Class JRequest
Subpackage Environment- Other versions of JRequest::setVar
User contributed notes
Code Examples