Element index for package Microsoft_Uri
[ a ]
[ c ]
[ e ]
[ f ]
[ g ]
[ h ]
[ m ]
[ r ]
[ s ]
[ u ]
[ v ]
[ _ ]
_
- $_config
- in file Uri.php, variable Microsoft_Uri::$_config
Global configuration array
- $_fragment
- in file Http.php, variable Microsoft_Uri_Http::$_fragment
HTTP fragment
- $_host
- in file Http.php, variable Microsoft_Uri_Http::$_host
HTTP host
- $_password
- in file Http.php, variable Microsoft_Uri_Http::$_password
HTTP password
- $_path
- in file Http.php, variable Microsoft_Uri_Http::$_path
HTTP part
- $_port
- in file Http.php, variable Microsoft_Uri_Http::$_port
HTTP post
- $_query
- in file Http.php, variable Microsoft_Uri_Http::$_query
HTTP query
- $_regex
- in file Http.php, variable Microsoft_Uri_Http::$_regex
Regular expression grammar rules for validation; values added by constructor
- $_scheme
- in file Uri.php, variable Microsoft_Uri::$_scheme
Scheme of this URI (http, ftp, etc.)
- $_username
- in file Http.php, variable Microsoft_Uri_Http::$_username
HTTP username
- _parseUri
- in file Http.php, method Microsoft_Uri_Http::_parseUri()
Parse the scheme-specific portion of the URI and place its parts into instance variables.
- __construct
- in file Http.php, method Microsoft_Uri_Http::__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)
- __construct
- in file Uri.php, method Microsoft_Uri::__construct()
Microsoft_Uri and its subclasses cannot be instantiated directly.
- __toString
- in file Uri.php, method Microsoft_Uri::__toString()
Return a string representation of this URI.
top
top
top
top
f
- factory
- in file Uri.php, method Microsoft_Uri::factory()
Create a new Microsoft_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.
- fromString
- in file Http.php, method Microsoft_Uri_Http::fromString()
Creates a Microsoft_Uri_Http from the given string
top
g
- getFragment
- in file Http.php, method Microsoft_Uri_Http::getFragment()
Returns the fragment portion of the URL (after #), or FALSE if none.
- getHost
- in file Http.php, method Microsoft_Uri_Http::getHost()
Returns the domain or host IP portion of the URL, or FALSE if none.
- getPassword
- in file Http.php, method Microsoft_Uri_Http::getPassword()
Returns the password portion of the URL, or FALSE if none.
- getPath
- in file Http.php, method Microsoft_Uri_Http::getPath()
Returns the path and filename portion of the URL, or FALSE if none.
- getPort
- in file Http.php, method Microsoft_Uri_Http::getPort()
Returns the TCP port, or FALSE if none.
- getQuery
- in file Http.php, method Microsoft_Uri_Http::getQuery()
Returns the query portion of the URL (after ?), or FALSE if none.
- getQueryAsArray
- in file Http.php, method Microsoft_Uri_Http::getQueryAsArray()
Returns the query portion of the URL (after ?) as a key-value-array. If the query is empty an empty array is returned
- getScheme
- in file Uri.php, method Microsoft_Uri::getScheme()
Get the URI's scheme
- getUri
- in file Http.php, method Microsoft_Uri_Http::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.
- getUri
- in file Uri.php, method Microsoft_Uri::getUri()
Return a string representation of this URI.
- getUsername
- in file Http.php, method Microsoft_Uri_Http::getUsername()
Returns the username portion of the URL, or FALSE if none.
top
top
m
- Microsoft_Uri
- in file Uri.php, class Microsoft_Uri
Abstract class for all Microsoft_Uri handlers
- Microsoft_Uri_Exception
- in file Exception.php, class Microsoft_Uri_Exception
Exceptions for Microsoft_Uri
- Microsoft_Uri_Http
- in file Http.php, class Microsoft_Uri_Http
HTTP(S) URI handler
top
top
s
- setConfig
- in file Uri.php, method Microsoft_Uri::setConfig()
Set global configuration options
- setFragment
- in file Http.php, method Microsoft_Uri_Http::setFragment()
Sets the fragment for the current URI, and returns the old fragment
- setHost
- in file Http.php, method Microsoft_Uri_Http::setHost()
Sets the host for the current URI, and returns the old host
- setPassword
- in file Http.php, method Microsoft_Uri_Http::setPassword()
Sets the password for the current URI, and returns the old password
- setPath
- in file Http.php, method Microsoft_Uri_Http::setPath()
Sets the path for the current URI, and returns the old path
- setPort
- in file Http.php, method Microsoft_Uri_Http::setPort()
Sets the port for the current URI, and returns the old port
- setQuery
- in file Http.php, method Microsoft_Uri_Http::setQuery()
Set the query string for the current URI, and return the old query string This method accepts both strings and arrays.
- setUsername
- in file Http.php, method Microsoft_Uri_Http::setUsername()
Sets the username for the current URI, and returns the old username
top
top
v
- valid
- in file Http.php, method Microsoft_Uri_Http::valid()
Validate the current URI from the instance variables. Returns true if and only if all parts pass validation.
- valid
- in file Uri.php, method Microsoft_Uri::valid()
Returns TRUE if this URI is valid, or FALSE otherwise.
- validateFragment
- in file Http.php, method Microsoft_Uri_Http::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
- in file Http.php, method Microsoft_Uri_Http::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
- in file Http.php, method Microsoft_Uri_Http::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
- in file Http.php, method Microsoft_Uri_Http::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
- in file Http.php, method Microsoft_Uri_Http::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
- in file Http.php, method Microsoft_Uri_Http::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
- in file Http.php, method Microsoft_Uri_Http::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.
top
|
|