Tool/Project/Provider/Action.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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Tool
- Subpackage
- Framework
- Version
- $Id$
\Zend_Tool_Project_Provider_Action
Package: Zend_Tool
This is a convenience class.
At current it will return the request and response from the client registry
as they are the more common things that will be needed by providers
- Implements
- Parent(s)
- \Zend_Tool_Project_Provider_Abstract < \Zend_Tool_Framework_Provider_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods
_getControllerFileResource(\Zend_Tool_Project_Profile $profile, string $controllerName, string $moduleName = null) : \Zend_Tool_Project_Profile_Resource
static
_getControllerFileResource()
Parameters
Returns
Name | Type | Description |
---|---|---|
$profile | \Zend_Tool_Project_Profile | |
$controllerName | string | |
$moduleName | string |
Type | Description |
---|---|
\Zend_Tool_Project_Profile_Resource |
create(string $name, string $controllerName = 'Index', bool $viewIncluded = true, string $module = null) : void
create()
Parameters
Name | Type | Description |
---|---|---|
$name | string | Action name for controller, in camelCase format. |
$controllerName | string | Controller name action should be applied to. |
$viewIncluded | bool | Whether the view should the view be included. |
$module | string | Module name action should be applied to. |
createResource(\Zend_Tool_Project_Profile $profile, string $actionName, string $controllerName, string $moduleName = null) : \Zend_Tool_Project_Profile_Resource
static
createResource()
Parameters
Returns
Name | Type | Description |
---|---|---|
$profile | \Zend_Tool_Project_Profile | |
$actionName | string | |
$controllerName | string | |
$moduleName | string |
Type | Description |
---|---|
\Zend_Tool_Project_Profile_Resource |
hasResource(\Zend_Tool_Project_Profile $profile, string $actionName, string $controllerName, string $moduleName = null) : \Zend_Tool_Project_Profile_Resource
static
hasResource()
Parameters
Returns
Name | Type | Description |
---|---|---|
$profile | \Zend_Tool_Project_Profile | |
$actionName | string | |
$controllerName | string | |
$moduleName | string |
Type | Description |
---|---|
\Zend_Tool_Project_Profile_Resource |