Class JUri
JUri Class
This class serves two purposes. First it parses a URI and provides a common interface for the Joomla Platform to access and manipulate a URI. Second it obtains the URI of the current executing script from the server regardless of server.
- Joomla\Uri\AbstractUri implements Joomla\Uri\UriInterface
-
Joomla\Uri\Uri
-
JUri
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.1
Located at joomla/uri/uri.php
Methods summary
public static
|
#
getInstance( string $uri = 'SERVER' )
Returns the global JUri object, only creating it if it doesn't already exist. |
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
|
|
public
|
|
public static
boolean
|
|
public static
string
|
|
public
boolean
|
|
protected
string
|
Methods inherited from Joomla\Uri\Uri
delVar(),
setFragment(),
setHost(),
setPass(),
setPort(),
setQuery(),
setScheme(),
setUser(),
setVar()
Methods inherited from Joomla\Uri\AbstractUri
__construct(),
__toString(),
cleanPath(),
getFragment(),
getHost(),
getPass(),
getPath(),
getPort(),
getQuery(),
getScheme(),
getUser(),
getVar(),
hasVar(),
isSSL(),
toString()
Magic methods summary
Properties summary
protected static
|
$instances |
#
An array of JUri instances. |
protected static
array
|
$base |
#
The current calculated base url segments. |
protected static
array
|
$root |
#
The current calculated root url segments. |
protected static
string
|
$current |
#
The current url. |
Properties inherited from Joomla\Uri\AbstractUri
$fragment,
$host,
$pass,
$path,
$port,
$query,
$scheme,
$uri,
$user,
$vars
