[Zend_Uri] element index

Package indexes

All elements
c e f g h m s u v z _
_
top
Variable $_fragment
Variable $_host
Variable $_password
Variable $_path
Variable $_port
Variable $_query
Variable $_regex
Regular expression grammar rules for validation; values added by constructor
Variable $_scheme
Scheme of this URI (http, ftp, etc.)
Variable $_username
URI parts are divided among these instance variables
Method _parseQuery
Parse a query string or array, validate it and return it as a query string
Method _parseUri
Parse the scheme-specific portion of the URI and place its parts into instance variables.
Method __construct
Zend_Uri and its subclasses cannot be instantiated directly.
Method __construct
Method __construct
Constructor accepts a string $scheme (e.g., http, https) and a scheme-specific part of the URI (e.g., example.com/path/to/resource?query=param#fragment)
Method __toString
Return a string representation of this URI.
c
top
Method check
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.
e
top
Page Exception.php
Exception.php in Exception.php
f
top
Method factory
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.
g
top
Method getFragment
Returns the fragment portion of the URL (after #), or FALSE if none.
Method getHost
Returns the domain or host IP portion of the URL, or FALSE if none.
Method getPassword
Returns the password portion of the URL, or FALSE if none.
Method getPath
Returns the path and filename portion of the URL, or FALSE if none.
Method getPort
Returns the TCP port, or FALSE if none.
Method getQuery
Returns the query portion of the URL (after ?), or FALSE if none.
Method getScheme
Get the URI's scheme
Method getUri
Return a string representation of this URI.
Method getUri
Method getUri
Returns a URI based on current values of the instance variables. If any part of the URI does not pass validation, then an exception is thrown.
Method getUsername
Returns the username portion of the URL, or FALSE if none.
h
top
Page Http.php
Http.php in Http.php
m
top
Page Mailto.php
Mailto.php in Mailto.php
s
top
Method setFragment
Sets the fragment for the current URI, and returns the old fragment
Method setHost
Sets the host for the current URI, and returns the old host
Method setPassword
Sets the password for the current URI, and returns the old password
Method setPath
Sets the path for the current URI, and returns the old path
Method setPort
Sets the port for the current URI, and returns the old port
Method setQuery
Set the query string for the current URI, and return the old query string This method accepts both strings and arrays.
Method setUsername
Sets the username for the current URI, and returns the old username
u
top
Page Uri.php
Uri.php in Uri.php
v
top
Method valid
Method valid
Validate the current URI from the instance variables. Returns true if and only if all parts pass validation.
Method valid
Returns TRUE if this URI is valid, or FALSE otherwise.
Method validateFragment
Returns true if and only if the fragment passes validation. If no fragment is passed, then the fragment contained in the instance variable is used.
Method validateHost
Returns true if and only if the host string passes validation. If no host is passed, then the host contained in the instance variable is used.
Method validatePassword
Returns true if and only if the password passes validation. If no password is passed, then the password contained in the instance variable is used.
Method validatePath
Returns true if and only if the path string passes validation. If no path is passed, then the path contained in the instance variable is used.
Method validatePort
Returns true if and only if the TCP port string passes validation. If no port is passed, then the port contained in the instance variable is used.
Method validateQuery
Returns true if and only if the query string passes validation. If no query is passed, then the query string contained in the instance variable is used.
Method validateUsername
Returns true if and only if the username passes validation. If no username is passed, then the username contained in the instance variable is used.
z
top
Class Zend_Uri
Zend_Uri in Uri.php
Class Zend_Uri_Exception
Zend_Uri_Exception in Exception.php
Class Zend_Uri_Http
Zend_Uri_Http in Http.php
Class Zend_Uri_Mailto
Zend_Uri_Mailto in Mailto.php
c e f g h m s u v z _