URL parser to replace parse_url() PHP function which got broken in PHP 4.3.0. Adds some browser specific functionality such as expandomatic expansion.
Guesses a bit trying to separate the host from the path.
Located in /libraries/pear/simpletest/url.php (line 137)
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.
Encodes parameters as HTTP request parameters.
Gets the path to the page.
Accessor for current request parameters
in URL string form
Accessor for fragment at end of URL after the "#".
Accessor for hostname and port.
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 current request parameters as an object.
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 flase to clear them.
Attaches a frame target.
Extracts the X, Y coordinate pair from an image map.
Extracts the host part of an incoming URL.
Includes the port number part. Will extract the host if it starts with // or it has a top level domain or it has at least two dots.
Extracts the username and password from the incoming URL. The // prefix will be reattached to the URL after the doublet is extracted.
Extracts the path information from the incoming URL. Strips this path from the URL.
Strips off the request data.
Extracts the scheme part of an incoming URL.
Extracts the username and password for use in rendering a URL.
Simple test to see if a path part is relative.
Breaks the request down into an object.
Documentation generated on Fri, 11 Feb 2005 18:14:28 +0000 by phpDocumentor 1.3.0RC3