[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Part of the Joomla Framework Uri Package
Copyright: | Copyright (C) 2005 - 2022 Open Source Matters, Inc. All rights reserved. |
License: | GNU General Public License version 2 or later; see LICENSE |
File Size: | 217 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Interface: UriInterface - X-Ref
Uri Interface__toString() X-Ref |
Magic method to get the string representation of the URI object. return: string |
toString($parts = ['scheme', 'user', 'pass', 'host', 'port', 'path', 'query', 'fragment']) X-Ref |
Returns full URI string. param: array $parts An array of strings specifying the parts to render. return: string The rendered URI string. |
hasVar($name) X-Ref |
Checks if variable exists. param: string $name Name of the query variable to check. return: boolean True if the variable exists. |
getVar($name, $default = null) X-Ref |
Returns a query variable by name. param: string $name Name of the query variable to get. param: string $default Default value to return if the variable is not set. return: mixed Requested query variable if present otherwise the default value. |
getQuery($toArray = false) X-Ref |
Returns flat query string. param: boolean $toArray True to return the query as a key => value pair array. return: array|string Query string, optionally as an array. |
getScheme() X-Ref |
Get the URI scheme (protocol) return: string The URI scheme. |
getUser() X-Ref |
Get the URI username return: string The username, or null if no username was specified. |
getPass() X-Ref |
Get the URI password return: string The password, or null if no password was specified. |
getHost() X-Ref |
Get the URI host return: string The hostname/IP or null if no hostname/IP was specified. |
getPort() X-Ref |
Get the URI port return: integer The port number, or null if no port was specified. |
getPath() X-Ref |
Gets the URI path string return: string The URI path string. |
getFragment() X-Ref |
Get the URI archor string return: string The URI anchor string. |
isSsl() X-Ref |
Checks whether the current URI is using HTTPS. return: boolean True if using SSL via HTTPS. |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |