[Zend_Uri] element index

Package indexes

All elements
c e f g h m s u v z _
_
top
$_fragment
$_host
$_password
$_path
$_port
$_query
$_regex
Regular expression grammar rules for validation; values added by constructor
$_scheme
Scheme of this URI (http, ftp, etc.)
$_username
URI parts are divided among these instance variables
_parseQuery
Parse a query string or array, validate it and return it as a query string
_parseUri
Parse the scheme-specific portion of the URI and place its parts into instance variables.
__construct
Zend_Uri and its subclasses cannot be instantiated directly.
__construct
__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)
__toString
Return a string representation of this URI.
c
top
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
Exception.php
Exception.php in Exception.php
f
top
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
getFragment
Returns the fragment portion of the URL (after #), or FALSE if none.
getHost
Returns the domain or host IP portion of the URL, or FALSE if none.
getPassword
Returns the password portion of the URL, or FALSE if none.
getPath
Returns the path and filename portion of the URL, or FALSE if none.
getPort
Returns the TCP port, or FALSE if none.
getQuery
Returns the query portion of the URL (after ?), or FALSE if none.
getScheme
Get the URI's scheme
getUri
Return a string representation of this URI.
getUri
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.
getUsername
Returns the username portion of the URL, or FALSE if none.
h
top
Http.php
Http.php in Http.php
m
top
Mailto.php
Mailto.php in Mailto.php
s
top
setFragment
Sets the fragment for the current URI, and returns the old fragment
setHost
Sets the host for the current URI, and returns the old host
setPassword
Sets the password for the current URI, and returns the old password
setPath
Sets the path for the current URI, and returns the old path
setPort
Sets the port for the current URI, and returns the old port
setQuery
Set the query string for the current URI, and return the old query string This method accepts both strings and arrays.
setQueryArray
Sets given associative array to query string for the current URI and returns the old query string
setQueryString
Sets the query string for the current URI, and returns the old query string
setUsername
Sets the username for the current URI, and returns the old username
u
top
Uri.php
Uri.php in Uri.php
v
top
valid
valid
Validate the current URI from the instance variables. Returns true if and only if all parts pass validation.
valid
Returns TRUE if this URI is valid, or FALSE otherwise.
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.
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.
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.
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.
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.
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.
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
Zend_Uri
Zend_Uri in Uri.php
Zend_Uri_Exception
Zend_Uri_Exception in Exception.php
Zend_Uri_Http
Zend_Uri_Http in Http.php
Zend_Uri_Mailto
Zend_Uri_Mailto in Mailto.php
c e f g h m s u v z _