Zend Framework
1.12
|
Public Member Functions | |
__toString () | |
Return a string representation of this URI. | |
getScheme () | |
Get the URI's scheme. | |
getUri () | |
Return a string representation of this URI. | |
valid () | |
Returns TRUE if this URI is valid, or FALSE otherwise. | |
Static Public Member Functions | |
static | check ($uri) |
Convenience function, checks that a $uri string is well-formed by validating it but not returning an object. | |
static | factory ($uri= 'http', $className=null) |
Create a new Zend_Uri object for a URI. | |
static | setConfig ($config) |
Set global configuration options. | |
Protected Member Functions | |
__construct ($scheme, $schemeSpecific= '') | |
Zend_Uri and its subclasses cannot be instantiated directly. | |
Protected Attributes | |
$_scheme = '' | |
Static Protected Attributes | |
static | $_config |
|
abstractprotected |
Zend_Uri and its subclasses cannot be instantiated directly.
Use Zend_Uri::factory() to return a new Zend_Uri object.
string | $scheme | The scheme of the URI |
string | $schemeSpecific | The scheme-specific part of the URI |
__toString | ( | ) |
|
static |
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.
string | $uri | The URI to check |
|
static |
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.
string | $uri | The URI form which a Zend_Uri instance is created |
string | $className | The name of the class to use in order to manipulate URI |
Zend_Uri_Exception | When an empty string was supplied for the scheme |
Zend_Uri_Exception | When an illegal scheme is supplied |
Zend_Uri_Exception | When the scheme is not supported |
Zend_Uri_Exception | When $className doesn't exist or doesn't implements Zend_Uri |
Create a new Zend_Uri object for the $uri. If a subclass of Zend_Uri exists for the scheme, return an instance of that class. Otherwise, a Zend_Uri_Exception is thrown.
getScheme | ( | ) |
Get the URI's scheme.
|
abstract |
Return a string representation of this URI.
|
static |
Set global configuration options.
Zend_Config | array | $config |
|
abstract |
Returns TRUE if this URI is valid, or FALSE otherwise.
|
staticprotected |
|
protected |