references:joomla.framework:environment:juri-setpathsetPath
Sets the URI path string. Syntaxvoid setPath ( $path )
ExamplesExample $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: Result Before: http://forum.joomla.org/index.php/topic,41464.msg227819.html#msg227819 After: http://forum.joomla.org/index.php/board,8.0.html#msg227819 |


