API16:JURI/setPath
From Joomla! Documentation
Description
Set the URI path string.
Syntax
setPath($path)
| Parameter Name | Default Value | Description |
|---|---|---|
| $path | $path The URI path string. |
Defined in
libraries/joomla/environment/uri.php
Importing
jimport( 'joomla.environment.uri' );
Source Body
public function setPath($path)
{
$this->_path = $this->_cleanPath($path);
}
Examples
Code Examples