The URL library contains functions for handling URLs.
| Function |
Description |
| escapeString() |
Replaces special characters in a URL with an escape sequence |
| getBase() |
|
| getFragment() |
Returns the fragment in a URL |
| getHost() |
Returns the host specified in a URL |
| getParameters() |
Returns the parameters in the last path segment of a URL |
| getPath() |
Returns the path specified in a URL |
| getPort() |
Returns the port number specified in a URL |
| getQuery() |
Returns the query part in a URL |
| getReferer() |
|
| getScheme() |
Returns the scheme in a URL |
| isValid() |
Returns true if a URL has the right syntax, and false if
not |
| loadString() |
Returns the content and the content type of a specified URL |
| resolve() |
Returns an absolute URL from a base URL and a relative URL |
| unescapeString() |
Replaces the escape sequences in a URL with characters |