| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Environment |
JURI |
getVars |
getVars() |
Never | Work in Progress |
Returns an array with all of the query variables.
array getVars ()
Example
$uri = new JURI( 'http://forum.joomla.org/index.php?topic=46226&action=new' ); echo "Variables: "; print_r ( $uri->getVars() );
might produce:
Result
Variables: Array ( [topic] => 46226 [action] => new )