Zend_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
Alias keys for request parameters
Base path of request
Base URL of request
Instance parameters
PATH_INFO
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
If a $uri is passed, the object will attempt to populate itself using that information.
Alias to __get
Retrieve an alias
Retrieve the actual key represented by the alias $name.
Retrieve the list of all aliases
Everything in REQUEST_URI before PATH_INFO not including the filename <img src="<?=$basePath?>/images/zend.png"/>
Everything in REQUEST_URI before PATH_INFO <form action="<?=$baseUrl?>/news/submit" method="POST"/>
Retrieve a member of the $_COOKIE superglobal
If no $key is passed, returns the entire $_COOKIE array.
Retrieve a member of the $_ENV superglobal
If no $key is passed, returns the entire $_COOKIE array.
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.
Return the method by which the request was made
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.
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).
Returns everything between the BaseUrl and QueryString.
This value is calculated instead of reading PATH_INFO directly from $_SERVER due to cross-platform differences.
Retrieve a member of the $_POST superglobal
If no $key is passed, returns the entire $_POST array.
Retrieve a member of the $_GET superglobal
If no $key is passed, returns the entire $_GET array.
Returns the REQUEST_URI taking into account platform differences between Apache and IIS
Retrieve a member of the $_SERVER superglobal
If no $key is passed, returns the entire $_COOKIE array.
Alias to __isset()
Was the request made by POST?
Alias to __set()
Set a key alias
Set an alias used for key lookups. $name specifies the alias, $target specifies the actual key to use.
Set the base path for the URL
Set the base URL of the request; i.e., the segment leading to the script name
E.g.:
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.
Set parameters
Set one or more parameters. Parameters are set as userland parameters, using the keys specified in the array.
Set the PATH_INFO string
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'].
Access values contained in the superglobals as public members Order of precedence: 1. GET, 2. POST, 3. COOKIE, 4. SERVER, 5. ENV
Check to see if a property is set
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