JRequest::setVar
Set a variable in one of the request variables.
Signature
public function setVar(string
$name,
[string
$value = null,
[string
$hash = 'method',
[boolean
$overwrite = true]]] )
Parameters
-
$name
- Name
-
$value
- Value
-
$hash
- Hash
-
$overwrite
- Boolean
Returns
- string
- Previous value