| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Environment |
JURI |
__construct |
__construct() |
Never | Work in Progress |
This is the class constructor. You can pass a URI string to the constructor to initialize it to a specific URI.
JURI __construct ( $uri )
| $uri | string | is a string containing the URI. This parameter is optional and if omitted defaults to null. |
Example
global $mainframe; $uri = new JURI( $mainframe->getBaseURL() );