Abstract Class Zend_Uri

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

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


	
			
Direct descendents
Class Description
 class Zend_Uri_Http
 class 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 = ''])
 string|false getScheme ()
 string getUri ()
 boolean valid ()
 string __toString ()
Variables
string $_scheme = '' (line 54)

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

  • access: protected
Methods
static check (line 75)

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
static factory (line 94)

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
static Zend_Uri factory ([string $uri = 'http'])
  • string $uri
Constructor __construct (line 157)

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:
getScheme (line 140)

Get the URI's scheme

  • return: Scheme or false if no scheme is set.
  • access: public
string|false getScheme ()
getUri (line 164)

Return a string representation of this URI.

  • access: public
  • abstract:
string getUri ()

Redefined in descendants as:
valid (line 171)

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

  • access: public
  • abstract:
boolean valid ()

Redefined in descendants as:
__toString (line 62)

Return a string representation of this URI.

string __toString ()

Documentation generated on Thu, 18 Jan 2007 10:00:03 -0800 by phpDocumentor 1.3.1