API Documentation

Controller/Request/Simple.php

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 license@zend.com so we can send you a copy immediately.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Controller  
subpackage
Request  
version
$Id: Simple.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Controller_Request_Simple

Extends from
\Zend_Controller_Request_Abstract
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Controller  
subpackage
Request  

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

Unset all user parameters

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

Retrieve the action key

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

Retrieve the action name

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

Retrieve the controller key

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

Retrieve the controller name

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

Retrieve the module key

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

Retrieve the module name

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

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

Get all action parameters

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

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

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

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

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

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

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

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

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

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

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

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

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 DocBlox 0.13.3.