Abstract Class Zend_Uri

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

Located in /Uri.php (line 43)


	
			
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 49)

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

  • access: protected
Methods
static check (line 70)

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 89)

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.

  • throws: Zend_Uri_Exception
  • access: public
static Zend_Uri factory ([string $uri = 'http'])
  • string $uri
Constructor __construct (line 152)

Zend_Uri and its subclasses cannot be instantiated directly.

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

  • abstract:
  • access: protected
Zend_Uri __construct ( $scheme, [ $schemeSpecific = ''])
  • $scheme
  • $schemeSpecific

Redefined in descendants as:
getScheme (line 135)

Get the URI's scheme

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

Return a string representation of this URI.

  • abstract:
  • access: public
string getUri ()

Redefined in descendants as:
valid (line 166)

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

  • abstract:
  • access: public
boolean valid ()

Redefined in descendants as:
__toString (line 57)

Return a string representation of this URI.

string __toString ()

Documentation generated on Sun, 27 May 2007 23:28:20 -0700 by phpDocumentor 1.3.2