value pair array. * * @return array|string Query string, optionally as an array. * * @since 1.0 */ public function getQuery($toArray = false); /** * Get the URI scheme (protocol) * * @return string The URI scheme. * * @since 1.0 */ public function getScheme(); /** * Get the URI username * * @return string The username, or null if no username was specified. * * @since 1.0 */ public function getUser(); /** * Get the URI password * * @return string The password, or null if no password was specified. * * @since 1.0 */ public function getPass(); /** * Get the URI host * * @return string The hostname/IP or null if no hostname/IP was specified. * * @since 1.0 */ public function getHost(); /** * Get the URI port * * @return integer The port number, or null if no port was specified. * * @since 1.0 */ public function getPort(); /** * Gets the URI path string * * @return string The URI path string. * * @since 1.0 */ public function getPath(); /** * Get the URI archor string * * @return string The URI anchor string. * * @since 1.0 */ public function getFragment(); /** * Checks whether the current URI is using HTTPS. * * @return boolean True if using SSL via HTTPS. * * @since 1.0 */ public function isSsl(); }