API Documentation

Zend/Tool/Framework/Action/Repository.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 license@zend.com 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_Tool  
Subpackage
Framework  
Version
$Id: Repository.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Tool_Framework_Action_Repository

Package: Zend\Tool

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

Properties

Propertyprotectedarray  $_actions= 'array()'

Default valuearray()Details
Type
array
Propertyprotected\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
Name Type Description
$action \Zend_Tool_Framework_Action_Interface
$overrideExistingAction
Returns
Type Description
\Zend_Tool_Framework_Action_Repository
methodpubliccount( ) : int

count() required by the Countable interface

Returns
Type Description
int
methodpublicgetAction( string $actionName ) : \Zend_Tool_Framework_Action_Interface

getAction() - get an action by a specific name

Parameters
Name Type Description
$actionName string
Returns
Type Description
\Zend_Tool_Framework_Action_Interface
methodpublicgetActions( ) : array

getActions() - get all actions in the repository

Returns
Type Description
array
methodpublicgetIterator( ) : array

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

Returns
Type Description
array
methodpublicprocess( ) : \unknown

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

Returns
Type Description
\unknown
methodpublicsetRegistry( \Zend_Tool_Framework_Registry_Interface $registry ) : void

setRegistry()

Parameters
Name Type Description
$registry \Zend_Tool_Framework_Registry_Interface
Documentation was generated by DocBlox 0.15.1.