Abstract Class Zend_Uri

Description

Located in /library/Zend/Uri.php (line 47)


	
			
Direct descendents
Class Description
 class Zend_Uri_Http
 class Zend_Uri_Mailto
Variable Summary
 string $_scheme
Method Summary
 Zend_Uri __construct (mixed $scheme, [mixed $schemeSpecific = ''])
 boolean check (string $uri)
 Zend_Uri factory ([string $uri = 'http'])
 void getScheme ()
 string getUri ()
 boolean valid ()
 string __toString ()
Variables
string $_scheme = '' (line 55)

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

  • access: protected
Methods
Constructor __construct (line 159)

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 (mixed $scheme, [mixed $schemeSpecific = ''])

Redefined in descendants as:
check (line 78)

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
  • static:
boolean check (string $uri)
  • string $uri
factory (line 98)

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
  • static:
  • throws: Zend_Uri_Exception
Zend_Uri factory ([string $uri = 'http'])
  • string $uri
getScheme (line 140)
  • access: public
void getScheme ()
getUri (line 167)

Return a string representation of this URI.

  • access: public
  • abstract:
string getUri ()

Redefined in descendants as:
valid (line 175)

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

  • access: public
  • abstract:
boolean valid ()

Redefined in descendants as:
__toString (line 64)

Return a string representation of this URI.

string __toString ()

Documentation generated on Wed, 08 Mar 2006 04:55:14 -0800 by phpDocumentor 1.3.0RC4