API Documentation

Zend/Tool/Framework/Provider/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_Provider_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

Propertyprotectedbool  $_processOnAdd= 'false'

Default valuefalseDetails
Type
bool
Propertyprotected\Zend_Tool_Framework_Provider_Signature[]  $_providerSignatures= 'array()'

Default valuearray()Details
Type
\Zend_Tool_Framework_Provider_Signature[]
Propertyprotectedarray  $_providers= 'array()'

Array of Zend_Tool_Framework_Provider_Inteface
Default valuearray()Details
Type
array
Propertyprotected\Zend_Tool_Framework_Registry  $_registry= 'null'

Default valuenullDetails
Type
\Zend_Tool_Framework_Registry
Propertyprotected\Zend_Tool_Framework_Provider_Interface[]  $_unprocessedProviders= 'array()'

Default valuearray()Details
Type
\Zend_Tool_Framework_Provider_Interface[]

Methods

methodprotected_parseName(  $provider ) : string

_parseName - internal method to determine the name of an action when one is not explicity provided.

Parameters
Name Type Description
$provider
Returns
Type Description
string
methodpublicaddProvider( \Zend_Tool_Framework_Provider_Interface $provider,  $overwriteExistingProvider = false ) : \Zend_Tool_Framework_Provider_Repository

Add a provider to the repository for processing

Parameters
Name Type Description
$provider \Zend_Tool_Framework_Provider_Interface
$overwriteExistingProvider
Returns
Type Description
\Zend_Tool_Framework_Provider_Repository
methodpubliccount( ) : int

count() - return the number of providers

Returns
Type Description
int
methodpublicgetIterator( ) : \ArrayIterator

getIterator() - Required by the IteratorAggregate Interface

Returns
Type Description
\ArrayIterator
methodpublicgetProvider( string $providerName ) : \Zend_Tool_Framework_Provider_Interface

getProvider()

Parameters
Name Type Description
$providerName string
Returns
Type Description
\Zend_Tool_Framework_Provider_Interface
methodpublicgetProviderSignature( string $providerName ) : \Zend_Tool_Framework_Provider_Signature

getProviderSignature()

Parameters
Name Type Description
$providerName string
Returns
Type Description
\Zend_Tool_Framework_Provider_Signature
methodpublicgetProviderSignatures( ) : array

getProviderSignatures() Get all the provider signatures

Returns
Type Description
array
methodpublicgetProviders( ) : array

getProviders() Get all the providers in the repository

Returns
Type Description
array
methodpublichasProvider(  $providerOrClassName,  $processedOnly = true ) : void

Parameters
Name Type Description
$providerOrClassName
$processedOnly
methodpublicprocess( ) : void

Process all of the unprocessed providers

methodpublicsetProcessOnAdd( \unknown_type $processOnAdd = true ) : \unknown

Set the ProcessOnAdd flag

Parameters
Name Type Description
$processOnAdd \unknown_type
Returns
Type Description
\unknown
methodpublicsetRegistry( \Zend_Tool_Framework_Registry_Interface $registry ) : \unknown

setRegistry()

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