Support Joomla!

references:joomla.framework:environment:juri-getpath

Table of Contents

getPath

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

Gets the URI path string.

Syntax

string getPath ()

Examples

Example

$uri = new JURI( 'http://forum.joomla.org/index.php/topic,41464.msg227819.html#msg227819' );
echo "Path: " . $uri->getPath();

might produce:

Result

Path: /index.php/topic,41464.msg227819.html
 
references/joomla.framework/environment/juri-getpath.txt (1179 views) · Last modified: 2007/08/15 14:51