| Method | Description |
__construct | Class constructor. |
buildQuery | Build a query from a array. |
delVar | Removes an item from the query string variables if it exists. |
getAnchor | Get the URI archor string everything after the ‘#’. |
getHost | Get URI host returns the hostname/ip, or null if no hostname/ip was specified. |
getInstance | Returns a reference to a global JURI object, only creating it if it doesn’t already exist. |
getPassword | Get URI password. Returns the password, or null if no password was specified. |
getPath | Gets the URI path string. |
getPort | Get URI port. Returns the port number, or null if no port was specified. |
getQueryString | Returns flat query string from (array) $_vars hash. |
getScheme | Get URI scheme (protocol) ie. http, https, ftp, etc... |
getUsername | Get URI username. Returns the username, or null if no username was specified. |
getVars | Returns an array with all of the query variables. |
isSSL | Checks whether the current URI is using HTTPS. |
parse | Parse a given URI and populate the class fields. |
setAnchor | Set the URI anchor string everything after the ‘#’. |
setHost | Set URI host. |
setPassword | Set URI password. |
setPath | Set the URI path string. |
setPort | Set URI port. |
setQueryString | Sets the query to a supplied string in format: foo=bar&x=y. |
setScheme | Set URI scheme (protocol) ie. http, https, ftp, etc... |
setUsername | Set URI username. |
setVar | Adds a query variable and value, replacing the value if it already exists and returning the old value. |
toString | Returns full URI string. |