Support Joomla!

references:joomla.framework:environment:juri-parse

Table of Contents

parse

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

Parses a given URI and populates the class fields.

Syntax

boolean parse ( $uri )

$uri string is a string containing the URI string to parse.

Examples

Example

$uri = new JURI();
$uri->parse( 'https://forum.joomla.org/index.php?topic=46226&action=new' );
echo "Query String: " . $uri->getQueryString();

might produce:

Result

Query String: topic=46226&action=new
 
references/joomla.framework/environment/juri-parse.txt (730 views) · Last modified: 2007/08/15 14:51