JUri::setVar
Adds a query variable and value, replacing the value if it already exists and returning the old value.
Signature
public function setVar(string
$name,
string
$value )
Parameters
-
$name
- Name of the query variable to set.
-
$value
- Value of the query variable.
Returns
- string
- Previous value for the query variable.