Zend_Controller_Request_HttpZend_Controller_Request_Http
HTTP request object for use with Zend_Controller family.
Located in /Zend/Controller/Request/Http.php (line 39)
Zend_Controller_Request_Abstract | --Zend_Controller_Request_Http
array
$_aliases
= array() (line 75)
Alias keys for request parameters
string
$_basePath
= null (line 57)
Base path of request
string
$_baseUrl
= null (line 51)
Base URL of request
array
$_params
= array() (line 69)
Instance parameters
string
$_pathInfo
= '' (line 63)
PATH_INFO
string;
$_requestUri
(line 45)
REQUEST_URI
Inherited from Zend_Controller_Request_Abstract
Zend_Controller_Request_Abstract::$_action
Zend_Controller_Request_Abstract::$_actionKey
Zend_Controller_Request_Abstract::$_controller
Zend_Controller_Request_Abstract::$_controllerKey
Zend_Controller_Request_Abstract::$_dispatched
Zend_Controller_Request_Abstract::$_module
Zend_Controller_Request_Abstract::$_moduleKey
Constructor __construct (line 87)
Constructor
If a $uri is passed, the object will attempt to populate itself using that information.
get (line 148)
Alias to __get
getAlias (line 670)
Retrieve an alias
Retrieve the actual key represented by the alias $name.
getAliases (line 684)
Retrieve the list of all aliases
getBasePath (line 504)
Everything in REQUEST_URI before PATH_INFO not including the filename <img src="<?=$basePath?>/images/zend.png"/>
getBaseUrl (line 461)
Everything in REQUEST_URI before PATH_INFO <form action="<?=$baseUrl?>/news/submit" method="POST"/>
getCookie (line 268)
Retrieve a member of the $_COOKIE superglobal
If no $key is passed, returns the entire $_COOKIE array.
getEnv (line 304)
Retrieve a member of the $_ENV superglobal
If no $key is passed, returns the entire $_COOKIE array.
getHeader (line 722)
Return the value of the given HTTP header. Pass the header name as the plain, HTTP-specified header name. Ex.: Ask for 'Accept' to get the Accept header, 'Accept-Encoding' to get the Accept-Encoding header.
getMethod (line 694)
Return the method by which the request was made
getParam (line 593)
Retrieve a parameter
Retrieves a parameter from the instance. Priority is in the order of userland parameters (see setParam()), $_GET, $_POST. If a parameter matching the $key is not found, null is returned.
If the $key is an alias, the actual key aliased will be used.
getParams (line 617)
Retrieve an array of parameters
Retrieves a merged array of parameters, with precedence of userland params (see setParam()), $_GET, $POST (i.e., values in the userland params will take precedence over all others).
getPathInfo (line 554)
Returns everything between the BaseUrl and QueryString.
This value is calculated instead of reading PATH_INFO directly from $_SERVER due to cross-platform differences.
getPost (line 249)
Retrieve a member of the $_POST superglobal
If no $key is passed, returns the entire $_POST array.
getQuery (line 230)
Retrieve a member of the $_GET superglobal
If no $key is passed, returns the entire $_GET array.
getRequestUri (line 360)
Returns the REQUEST_URI taking into account platform differences between Apache and IIS
getServer (line 286)
Retrieve a member of the $_SERVER superglobal
If no $key is passed, returns the entire $_COOKIE array.
has (line 215)
Alias to __isset()
isPost (line 704)
Was the request made by POST?
set (line 178)
Alias to __set()
setAlias (line 656)
Set a key alias
Set an alias used for key lookups. $name specifies the alias, $target specifies the actual key to use.
setBasePath (line 476)
Set the base path for the URL
setBaseUrl (line 389)
Set the base URL of the request; i.e., the segment leading to the script name
E.g.:
setParam (line 573)
Set a userland parameter
Uses $key to set a userland parameter. If $key is an alias, the actual key will be retrieved and used to set the parameter.
setParams (line 638)
Set parameters
Set one or more parameters. Parameters are set as userland parameters, using the keys specified in the array.
setPathInfo (line 519)
Set the PATH_INFO string
setRequestUri (line 322)
Set the REQUEST_URI on which the instance operates
If no request URI is passed, uses the value in $_SERVER['REQUEST_URI'], $_SERVER['HTTP_X_REWRITE_URL'], or $_SERVER['ORIG_PATH_INFO'] + $_SERVER['QUERY_STRING'].
__get (line 118)
Access values contained in the superglobals as public members Order of precedence: 1. GET, 2. POST, 3. COOKIE, 4. SERVER, 5. ENV
__isset (line 189)
Check to see if a property is set
__set (line 165)
Set values
In order to follow __get(), which operates on a number of superglobals, setting values through overloading is not allowed and will raise an exception. Use setParam() instead.
Inherited From Zend_Controller_Request_Abstract
Zend_Controller_Request_Abstract::getActionKey()
Zend_Controller_Request_Abstract::getActionName()
Zend_Controller_Request_Abstract::getControllerKey()
Zend_Controller_Request_Abstract::getControllerName()
Zend_Controller_Request_Abstract::getModuleKey()
Zend_Controller_Request_Abstract::getModuleName()
Zend_Controller_Request_Abstract::getParam()
Zend_Controller_Request_Abstract::getParams()
Zend_Controller_Request_Abstract::getUserParam()
Zend_Controller_Request_Abstract::getUserParams()
Zend_Controller_Request_Abstract::isDispatched()
Zend_Controller_Request_Abstract::setActionKey()
Zend_Controller_Request_Abstract::setActionName()
Zend_Controller_Request_Abstract::setControllerKey()
Zend_Controller_Request_Abstract::setControllerName()
Zend_Controller_Request_Abstract::setDispatched()
Zend_Controller_Request_Abstract::setModuleKey()
Zend_Controller_Request_Abstract::setModuleName()
Zend_Controller_Request_Abstract::setParam()
Zend_Controller_Request_Abstract::setParams()
Documentation generated on Wed, 21 Feb 2007 11:50:53 -0800 by phpDocumentor 1.3.1