## Zend_Uri

Description

- abstract:
- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Uri.php (line 49)

Direct descendents

Class | Description
--- | ---
Zend_Uri_Http |
Zend_Uri_Mailto |

Variable Summary
string $_scheme
Method Summary
static boolean check (string $uri)
static Zend_Uri factory ([string $uri = 'http'])
Zend_Uri __construct ( $scheme, [ $schemeSpecific = ''])
void getScheme ()
string getUri ()
boolean valid ()
string __toString ()
Variables
string $_scheme = '' (line 57)

Scheme of this URI (http, ftp, etc.)

- access: protected

Methods
static check (line 80)

Convenience function, checks that a $uri string is well-formed by validating it but not returning an object. Returns TRUE if $uri is a well-formed URI, or FALSE otherwise.

- access: public

boolean check (string $uri)

- string $uri

static factory (line 100)

Create a new Zend_Uri object for a URI. If building a new URI, then $uri should contain only the scheme (http, ftp, etc). Otherwise, supply $uri with the complete URI.

- access: public
- throws: Zend_Uri_Exception

Zend_Uri factory ([string $uri = 'http'])

- string $uri

Constructor __construct (line 161)

Zend_Uri and its subclasses cannot be instantiated directly.

Use Zend_Uri::factory() to return a new Zend_Uri object.

- access: protected
- abstract:

Zend_Uri __construct ( $scheme, [ $schemeSpecific = ''])

- $scheme
- $schemeSpecific

Redefined in descendants as:

- Zend_Uri_Http::__construct() : Constructor accepts a string $scheme (e.g., http, https) and a scheme-specific part of the URI (e.g., example.com/path/to/resource?query=param#fragment)
- Zend_Uri_Mailto::__construct()

getScheme (line 142)

- access: public

void getScheme ()
getUri (line 169)

Return a string representation of this URI.

- access: public
- abstract:

string getUri ()

Redefined in descendants as:

- Zend_Uri_Http::getUri() : Returns a URI based on current values of the instance variables. If any part of the URI does not pass validation, then an exception is thrown.
- Zend_Uri_Mailto::getUri()

valid (line 177)

Returns TRUE if this URI is valid, or FALSE otherwise.

- access: public
- abstract:

boolean valid ()

Redefined in descendants as:

- Zend_Uri_Http::valid() : Validate the current URI from the instance variables. Returns true if and only if all parts pass validation.
- Zend_Uri_Mailto::valid()

__toString (line 66)

Return a string representation of this URI.

- access: public
- see: Zend_Uri::getUri()

string __toString ()

Documentation generated on Tue, 11 Jul 2006 12:18:17 -0500 by phpDocumentor 1.3.0RC6