Controller/Request/Simple.php

Show: inherited
Table of Contents

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Controller  
Subpackage
Request  
Version
$Id: Simple.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Controller_Request_Simple

Package: Zend\Controller\Request

Parent(s)
\Zend_Controller_Request_Abstract
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedstring $_action =
inherited

Action

Inherited from: \Zend_Controller_Request_Abstract::$$_action
Details
Type
string
Inherited_from
\Zend_Controller_Request_Abstract::$$_action  
Propertyprotectedstring $_actionKey = 'action'
inherited

Action key for retrieving action from params

Inherited from: \Zend_Controller_Request_Abstract::$$_actionKey
Default value'action'Details
Type
string
Inherited_from
\Zend_Controller_Request_Abstract::$$_actionKey  
Propertyprotectedstring $_controller =
inherited

Controller

Inherited from: \Zend_Controller_Request_Abstract::$$_controller
Details
Type
string
Inherited_from
\Zend_Controller_Request_Abstract::$$_controller  
Propertyprotectedstring $_controllerKey = 'controller'
inherited

Controller key for retrieving controller from params

Inherited from: \Zend_Controller_Request_Abstract::$$_controllerKey
Default value'controller'Details
Type
string
Inherited_from
\Zend_Controller_Request_Abstract::$$_controllerKey  
Propertyprotectedboolean $_dispatched = false
inherited

Has the action been dispatched?

Inherited from: \Zend_Controller_Request_Abstract::$$_dispatched
Default valuefalseDetails
Type
boolean
Inherited_from
\Zend_Controller_Request_Abstract::$$_dispatched  
Propertyprotectedstring $_module =
inherited

Module

Inherited from: \Zend_Controller_Request_Abstract::$$_module
Details
Type
string
Inherited_from
\Zend_Controller_Request_Abstract::$$_module  
Propertyprotectedstring $_moduleKey = 'module'
inherited

Module key for retrieving module from params

Inherited from: \Zend_Controller_Request_Abstract::$$_moduleKey
Default value'module'Details
Type
string
Inherited_from
\Zend_Controller_Request_Abstract::$$_moduleKey  
Propertyprotectedarray $_params = array()
inherited

Request parameters

Inherited from: \Zend_Controller_Request_Abstract::$$_params
Default valuearray()Details
Type
array
Inherited_from
\Zend_Controller_Request_Abstract::$$_params  

Methods

methodpublic__construct( $action = null,  $controller = null,  $module = null,  $params = array()) : void

Parameters
Name Type Description
$action
$controller
$module
$params
methodpublicclearParams() : \Zend_Controller_Request_Abstract
inherited

Unset all user parameters

Inherited from: \Zend_Controller_Request_Abstract::clearParams()
Returns
Type Description
\Zend_Controller_Request_Abstract
methodpublicgetActionKey() : string
inherited

Retrieve the action key

Inherited from: \Zend_Controller_Request_Abstract::getActionKey()
Returns
Type Description
string
methodpublicgetActionName() : string
inherited

Retrieve the action name

Inherited from: \Zend_Controller_Request_Abstract::getActionName()
Returns
Type Description
string
methodpublicgetControllerKey() : string
inherited

Retrieve the controller key

Inherited from: \Zend_Controller_Request_Abstract::getControllerKey()
Returns
Type Description
string
methodpublicgetControllerName() : string
inherited

Retrieve the controller name

Inherited from: \Zend_Controller_Request_Abstract::getControllerName()
Returns
Type Description
string
methodpublicgetModuleKey() : string
inherited

Retrieve the module key

Inherited from: \Zend_Controller_Request_Abstract::getModuleKey()
Returns
Type Description
string
methodpublicgetModuleName() : string
inherited

Retrieve the module name

Inherited from: \Zend_Controller_Request_Abstract::getModuleName()
Returns
Type Description
string
methodpublicgetParam(string $key, mixed $default = null) : mixed
inherited

Get an action parameter

Inherited from: \Zend_Controller_Request_Abstract::getParam()
Parameters
Name Type Description
$key string
$default mixed

Default value to use if key not found

Returns
Type Description
mixed
methodpublicgetParams() : array
inherited

Get all action parameters

Inherited from: \Zend_Controller_Request_Abstract::getParams()
Returns
Type Description
array
methodpublicgetUserParam(string $key, string $default = null) : mixed
inherited

Retrieve a single user param (i.e, a param specific to the object and not the environment)

Inherited from: \Zend_Controller_Request_Abstract::getUserParam()
Parameters
Name Type Description
$key string
$default string

Default value to use if key not found

Returns
Type Description
mixed
methodpublicgetUserParams() : array
inherited

Retrieve only user params (i.e, any param specific to the object and not the environment)

Inherited from: \Zend_Controller_Request_Abstract::getUserParams()
Returns
Type Description
array
methodpublicisDispatched() : boolean
inherited

Determine if the request has been dispatched

Inherited from: \Zend_Controller_Request_Abstract::isDispatched()
Returns
Type Description
boolean
methodpublicsetActionKey(string $key) : \Zend_Controller_Request_Abstract
inherited

Set the action key

Inherited from: \Zend_Controller_Request_Abstract::setActionKey()
Parameters
Name Type Description
$key string
Returns
Type Description
\Zend_Controller_Request_Abstract
methodpublicsetActionName(string $value) : \Zend_Controller_Request_Abstract
inherited

Set the action name

Inherited from: \Zend_Controller_Request_Abstract::setActionName()
Parameters
Name Type Description
$value string
Returns
Type Description
\Zend_Controller_Request_Abstract
methodpublicsetControllerKey(string $key) : \Zend_Controller_Request_Abstract
inherited

Set the controller key

Inherited from: \Zend_Controller_Request_Abstract::setControllerKey()
Parameters
Name Type Description
$key string
Returns
Type Description
\Zend_Controller_Request_Abstract
methodpublicsetControllerName(string $value) : \Zend_Controller_Request_Abstract
inherited

Set the controller name to use

Inherited from: \Zend_Controller_Request_Abstract::setControllerName()
Parameters
Name Type Description
$value string
Returns
Type Description
\Zend_Controller_Request_Abstract
methodpublicsetDispatched(boolean $flag = true) : \Zend_Controller_Request_Abstract
inherited

Set flag indicating whether or not request has been dispatched

Inherited from: \Zend_Controller_Request_Abstract::setDispatched()
Parameters
Name Type Description
$flag boolean
Returns
Type Description
\Zend_Controller_Request_Abstract
methodpublicsetModuleKey(string $key) : \Zend_Controller_Request_Abstract
inherited

Set the module key

Inherited from: \Zend_Controller_Request_Abstract::setModuleKey()
Parameters
Name Type Description
$key string
Returns
Type Description
\Zend_Controller_Request_Abstract
methodpublicsetModuleName(string $value) : \Zend_Controller_Request_Abstract
inherited

Set the module name to use

Inherited from: \Zend_Controller_Request_Abstract::setModuleName()
Parameters
Name Type Description
$value string
Returns
Type Description
\Zend_Controller_Request_Abstract
methodpublicsetParam(string $key, mixed $value) : \Zend_Controller_Request_Abstract
inherited

Set an action parameter

Inherited from: \Zend_Controller_Request_Abstract::setParam()

A $value of null will unset the $key if it exists

Parameters
Name Type Description
$key string
$value mixed
Returns
Type Description
\Zend_Controller_Request_Abstract
methodpublicsetParams(array $array) : \Zend_Controller_Request_Abstract
inherited

Set action parameters en masse; does not overwrite

Inherited from: \Zend_Controller_Request_Abstract::setParams()

Null values will unset the associated key.

Parameters
Name Type Description
$array array
Returns
Type Description
\Zend_Controller_Request_Abstract
Documentation was generated by phpDocumentor 2.0.0a8.