Support Joomla!

references:joomla.framework:environment:juri-getvars

Table of Contents

getVars

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Environment Class JURI Method getVars Reference getVars() Never Work in Progress

Returns an array with all of the query variables.

Syntax

array getVars ()

Examples

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
)
 
references/joomla.framework/environment/juri-getvars.txt (737 views) · Last modified: 2007/08/15 14:51