====== setPath ======
{#JAPI Joomla.Framework Environment JURI::setPath #}
Sets the URI path string.
===== Syntax =====
void setPath ( **$path** )
| **$path** | string | is a string containing the new URI path string. |
===== Examples =====
$uri = new JURI( 'http://forum.joomla.org/index.php/topic,41464.msg227819.html#msg227819' );
echo "Before: " . $uri->toString();
$uri->setPath( '/index.php/board,8.0.html' );
echo "After: " . $uri->toString();
might produce:
Before: http://forum.joomla.org/index.php/topic,41464.msg227819.html#msg227819
After: http://forum.joomla.org/index.php/board,8.0.html#msg227819