JUri::getVar
Returns a query variable by name.
Signature
public function getVar(string
$name,
[string
$default = null] )
Parameters
-
$name
- Name of the query variable to get.
-
$default
- Default value to return if the variable is not set.
Returns
- array
- Query variables.