Detailed Description
Definition at line 30 of file Uri.php.
Constructor & Destructor Documentation
| __construct |
( |
$ |
scheme, |
|
|
$ |
schemeSpecific = '' |
|
) |
| [abstract, protected] |
Zend_Uri and its subclasses cannot be instantiated directly. Use Zend_Uri::factory() to return a new Zend_Uri object.
- Parameters:
-
| string | $scheme | The scheme of the URI |
| string | $schemeSpecific | The scheme-specific part of the URI |
Reimplemented in Zend_Uri_Http.
Member Function Documentation
Return a string representation of this URI.
- See also:
- getUri()
- Returns:
- string
Definition at line 54 of file Uri.php.
| static check |
( |
$ |
uri | ) |
[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.
- Parameters:
-
| string | $uri | The URI to check |
- Returns:
- boolean
Definition at line 67 of file Uri.php.
| static factory |
( |
$ |
uri = 'http', |
|
|
$ |
className = null |
|
) |
| [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.
- Parameters:
-
| 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 |
- Exceptions:
-
- Returns:
- Zend_Uri http://www.faqs.org/rfcs/rfc2396.html
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.
Definition at line 91 of file Uri.php.
Get the URI's scheme
- Returns:
- string|false Scheme or false if no scheme is set.
Definition at line 155 of file Uri.php.
Return a string representation of this URI.
- Returns:
- string
Reimplemented in Zend_Uri_Http.
Set global configuration options
- Parameters:
-
| Zend_Config | array | $config | |
Definition at line 169 of file Uri.php.
Returns TRUE if this URI is valid, or FALSE otherwise.
- Returns:
- boolean
Reimplemented in Zend_Uri_Http.
Field Documentation
$_config [static, protected] |
Initial value: array(
'allow_unwise' => false
)
Definition at line 44 of file Uri.php.
$_scheme = '' [protected] |
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/zend/Zend/Uri.php