Tool/Framework/Action/Repository.php

Show: PublicProtectedPrivateinherited
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 license@zend.com 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_Framework_Action_Repository

Package: Zend_Tool
Implements
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_actions = array()
Default valuearray()Details
Type
array
>VPropertyprotected\Zend_Tool_Framework_Registry_Interface $_registry = null
Default valuenullDetails
Type
\Zend_Tool_Framework_Registry_Interface

Methods

methodpublicaddAction(\Zend_Tool_Framework_Action_Interface $action,  $overrideExistingAction = false) : \Zend_Tool_Framework_Action_Repository

addAction()

Parameters
NameTypeDescription
$action\Zend_Tool_Framework_Action_Interface
$overrideExistingAction
Returns
TypeDescription
\Zend_Tool_Framework_Action_Repository
methodpubliccount() : int

count() required by the Countable interface

Returns
TypeDescription
int
methodpublicgetAction(string $actionName) : \Zend_Tool_Framework_Action_Interface

getAction() - get an action by a specific name

Parameters
NameTypeDescription
$actionNamestring
Returns
TypeDescription
\Zend_Tool_Framework_Action_Interface
methodpublicgetActions() : array

getActions() - get all actions in the repository

Returns
TypeDescription
array
methodpublicgetIterator() : array

getIterator() - get all actions, this supports the IteratorAggregate interface

Returns
TypeDescription
array
methodpublicprocess() : \unknown

process() - this is called when the client is done constructing (after init())

Returns
TypeDescription
\unknown
methodpublicsetRegistry(\Zend_Tool_Framework_Registry_Interface $registry) : void

setRegistry()

Parameters
NameTypeDescription
$registry\Zend_Tool_Framework_Registry_Interface
Documentation was generated by phpDocumentor 2.2.0 .