API17

API17:JURI::getVar

From Joomla! Documentation

Revision as of 03:53, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Joomla 11.1 JURI::getVar

Description

Returns a query variable by name.


public function getVar (
        $name
        $default=null
)
Parameter Type Default Description
$name string Name of the query variable to get.
$default null
  • Returns array Query variables.
  • Defined on line 384 of libraries/joomla/environment/uri.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples