Comments: on this page. Click to read or post your own.
URL parser to replace parse_url() PHP function which got broken in PHP 4.3.0. Adds some browser specific functionality such as expandomatics.
Guesses a bit trying to separate the host from the path and tries to keep a raw, possibly unparsable, request string as long as possible.
Located in /sapphire/dev/simpletest/url.php (line 25)
A pipe seperated list of all TLDs that result in two part domain names.
Constructor. Parses URL into sections.
Adds an additional parameter to the request.
Adds additional parameters to the request.
Renders the URL back into a string.
Clears down all parameters.
Gets the path to the page.
Accessor for current request parameters in URL string form. Will return teh original request if at all possible even if it doesn't make much sense.
Accessor for fragment at end of URL after the "#".
Accessor for hostname and port.
Extracts the username and password for use in rendering a URL.
Accessor for page if any. This may be a directory name if ambiguious.
Accessor for password.
Accessor for path.
Accessor for port number.
Accessor for protocol part.
Gets the frame target if present. Although not strictly part of the URL specification it acts as similarily to the browser.
Accessor for top level domain.
Accessor for user name.
Accessor for horizontal image coordinate.
Accessor for vertical image coordinate.
Replaces unknown sections to turn a relative URL into an absolute one. The base URL can be either a string or a SimpleUrl object.
Replaces . and .. sections of the path.
Sets image coordinates. Set to false to clear them.
Attaches a frame target.
Documentation generated on Sun, 19 Oct 2008 06:47:26 +1300 by phpDocumentor 1.3.2