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.
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.
Accessor for top level domain.
Accessor for user name.
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.
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.
Breaks the request down into an object.
Documentation generated on Fri, 3 Dec 2004 12:28:00 +0000 by phpDocumentor 1.3.0RC3