[Zend_Http] element index

Package indexes

All elements
a b c d e f g h i m n o p r s v z _
_
top
_flattenCookiesArray
Helper function to recursivly flatten an array. Shoud be used when exporting the cookies array (or parts of it)
_matchDomain
Return a subset of the cookies array matching a specific domain
_matchPath
Return a subset of a domain-matching cookies that also match a specified path
__construct
Cookie object constructor
__construct
Construct a new CookieJar object
$_aliases
Alias keys for request parameters
$_basePath
Base path of request
$_baseUrl
Base URL of request
$_params
Instance parameters
$_pathInfo
PATH_INFO
$_requestUri
REQUEST_URI
__construct
Constructor
__get
Access values contained in the superglobals as public members Order of precedence: 1. GET, 2. POST, 3. COOKIE, 4. SERVER, 5. ENV
__isset
Check to see if a property is set
__set
Set values
__construct
HTTP response constructor
a
top
addCookie
Add a cookie to the jar. Cookie should be passed either as a Zend_Http_Cookie object or as a string - in which case an object is created from the string.
addCookiesFromResponse
Parse an HTTP response, adding all the cookies set in that response to the cookie jar.
asString
Get the cookie as a string, suitable for sending as a "Cookie" header in an HTTP request
asString
Get the entire response as string
b
top
$body
The HTTP response body
c
top
$cookies
Array storing cookies
Cookie.php
Cookie.php in Cookie.php
Cookiejar.php
Cookiejar.php in Cookiejar.php
$code
The HTTP response code
d
top
$domain
Cookie domain
deleteAllCookies
Remove all cookies from the jar
deleteCookies
Delete a cookie according to it's name and domain. If no name is specified, all cookies from this domain will be cleared out.
deleteExpiredCookies
Clear all cookies who's expiry time is older than $time
deleteSessionCookies
Clear "Session" cookies (cookies without specific expiry time)
decodeChunkedBody
Decode a "chunked" transfer-encoded body and return the decoded text
decodeDeflate
Decode a zlib deflated message (when Content-encoding = deflate)
decodeGzip
Decode a gzip encoded message (when Content-encoding = gzip)
e
top
$expires
Cookie expiry date
Exception.php
Exception.php in Exception.php
extractBody
Extract the body from a response string
extractCode
Extract the response code from a response string
extractHeaders
Extract the headers from a response string
extractMessage
Extract the HTTP message from a response
extractVersion
Extract the HTTP version from a response
f
top
factory
Create a new CookieJar object and automatically load into it all the cookies set in an Http_Response object. If $uri is set, it will be considered as the requested URI for setting default domain and path of the cookie.
factory
Generate a new Cookie object from a cookie string (for example the value of the Set-Cookie HTTP header)
factory
Create a new Zend_Http_Response object from a string
g
top
getAllCookies
Get all cookies in the cookie jar as an array
getCookie
Get a specific cookie according to a URI and name
getDomain
Get cookie domain
getExpiryTime
Get the expiry time of the cookie, or null if no expiry time is set
getMatchingCookies
Return an array of all cookies matching a specific request according to the request URI, whether session cookies should be sent or not, and the time to consider as "now" when checking cookie expiry time.
getName
Get Cookie name
getPath
Get the cookie path
getValue
Get cookie value
get
Alias to __get
getAlias
Retrieve an alias
getAliases
Retrieve the list of all aliases
getBasePath
Everything in REQUEST_URI before PATH_INFO not including the filename <img src="<?=$basePath?>/images/zend.png"/>
getBaseUrl
Everything in REQUEST_URI before PATH_INFO <form action="<?=$baseUrl?>/news/submit" method="POST"/>
getCookie
Retrieve a member of the $_COOKIE superglobal
getEnv
Retrieve a member of the $_ENV superglobal
getMethod
Return the method by which the request was made
getParam
Retrieve a parameter
getParams
Retrieve an array of parameters
getPathInfo
Returns everything between the BaseUrl and QueryString.
getPost
Retrieve a member of the $_POST superglobal
getQuery
Retrieve a member of the $_GET superglobal
getRequestUri
Returns the REQUEST_URI taking into account platform differences between Apache and IIS
getServer
Retrieve a member of the $_SERVER superglobal
getBody
Get the response body as string
getHeader
Get a specific header as string, or null if it is not set
getHeaders
Get the response headers
getHeadersAsString
Get all headers as string
getMessage
Return a message describing the HTTP response code (Eg. "OK", "Not Found", "Moved Permanently")
getRawBody
Get the raw response body (as transfered "on wire") as string
getStatus
Get the HTTP response status code
getVersion
Get the HTTP version of the response
h
top
has
Alias to __isset()
$headers
The HTTP response headers array
i
top
isExpired
Check whether the cookie has expired
isSecure
Check whether the cookie should only be sent over secure connections
isSessionCookie
Check whether the cookie is a session cookie (has no expiry time set)
isPost
Was the request made by POST?
isError
Check whether the response is an error
isRedirect
Check whether the response is a redirection
isSuccessful
Check whether the response in successful
m
top
match
Checks whether the cookie should be sent on not in a specific scenario
$message
The HTTP response code as string (e.g. 'Not Found' for 404 or 'Internal Server Error' for 500)
n
top
$name
Cookie name
o
top
COOKIE_OBJECT
Return cookie(s) as a Zend_Http_Cookie object
COOKIE_STRING_ARRAY
Return cookie(s) as a string (suitable for sending in an HTTP request)
COOKIE_STRING_CONCAT
Return all cookies as one long string (suitable for sending in an HTTP request)
p
top
$path
Cookie path
r
top
Response.php
Response.php in Response.php
Request.php
Request.php in Request.php
responseCodeAsText
A convenience function that returns a text representation of HTTP response codes. Returns null for unknown codes.
s
top
$secure
Whether the cookie is secure or not
set
Alias to __set()
setAlias
Set a key alias
setBasePath
Set the base path for the URL
setBaseUrl
Set the base URL of the request; i.e., the segment leading to the script name
setParam
Set a userland parameter
setParams
Set parameters
setPathInfo
Set the PATH_INFO string
setRequestUri
Set the REQUEST_URI on which the instance operates
v
top
$value
Cookie value
$version
The HTTP version (1.0, 1.1)
z
top
Zend_Http_Cookie
Zend_Http_Cookie in Cookie.php
Zend_Http_Cookie is a class describing an HTTP cookie and all it's parameters.
Zend_Http_Cookiejar
Zend_Http_Cookiejar in Cookiejar.php
A Zend_Http_Cookiejar object is designed to contain and maintain HTTP cookies, and should be used along with Zend_Http_Client in order to manage cookies across HTTP requests and responses.
Zend_Http_Exception
Zend_Http_Exception in Exception.php
Zend_Http_Request
Zend_Http_Request in Request.php
Zend_Http_Request
Zend_Http_Response
Zend_Http_Response in Response.php
Zend_Http_Response represents an HTTP 1.0 / 1.1 response message. It includes easy access to all the response's different elemts, as well as some convenience methods for parsing and validating HTTP responses.
a b c d e f g h i m n o p r s v z _