API Documentation

Tool/Framework/Provider/Repository.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Tool
subpackage
Framework
version
$Id: Repository.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Tool_Framework_Provider_Repository

Description

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.

Zend_Tool_Framework_Provider_Repository

Implements
Zend_Tool_Framework_Registry_EnabledInterface
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Tool
Properties
$_registry
$_processOnAdd
$_unprocessedProviders
$_providerSignatures
$_providers
Methods
setRegistry
setProcessOnAdd
addProvider
hasProvider
process
getProviders
getProviderSignatures
getProvider
getProviderSignature
count
getIterator
_parseName

Description

Properties

$_processOnAdd

bool $_processOnAdd = 'false'

Details

$_processOnAdd
bool
visibility
protected
default
false
final
false
static
false

$_providerSignatures

Zend_Tool_Framework_Provider_Signature[] $_providerSignatures = 'array'

Details

$_providerSignatures
Zend_Tool_Framework_Provider_Signature[]
visibility
protected
default
array
final
false
static
false

$_providers

array $_providers = 'array'

Details

$_providers
array
Array of Zend_Tool_Framework_Provider_Inteface
visibility
protected
default
array
final
false
static
false

$_registry

Zend_Tool_Framework_Registry $_registry = 'null'

Details

$_registry
Zend_Tool_Framework_Registry
visibility
protected
default
null
final
false
static
false

$_unprocessedProviders

Zend_Tool_Framework_Provider_Interface[] $_unprocessedProviders = 'array'

Details

$_unprocessedProviders
Zend_Tool_Framework_Provider_Interface[]
visibility
protected
default
array
final
false
static
false

Methods

_parseName

_parseName(  $provider ) : string

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

Arguments
$provider
Output
string
Details
visibility
protected
final
false
static
false

addProvider

addProvider( Zend_Tool_Framework_Provider_Interface $provider,  $overwriteExistingProvider = false ) : Zend_Tool_Framework_Provider_Repository

Add a provider to the repository for processing

Arguments
$provider
Zend_Tool_Framework_Provider_Interface
$overwriteExistingProvider
Details
visibility
public
final
false
static
false

count

count( ) : int

count() - return the number of providers

Output
int
Details
visibility
public
final
false
static
false

getIterator

getIterator( ) : ArrayIterator

getIterator() - Required by the IteratorAggregate Interface

Output
ArrayIterator
Details
visibility
public
final
false
static
false

getProvider

getProvider( string $providerName ) : Zend_Tool_Framework_Provider_Interface

getProvider()

Arguments
$providerName
string
Details
visibility
public
final
false
static
false

getProviderSignature

getProviderSignature( string $providerName ) : Zend_Tool_Framework_Provider_Signature

getProviderSignature()

Arguments
$providerName
string
Details
visibility
public
final
false
static
false

getProviderSignatures

getProviderSignatures( ) : array

getProviderSignatures() Get all the provider signatures

Output
array
Details
visibility
public
final
false
static
false

getProviders

getProviders( ) : array

getProviders() Get all the providers in the repository

Output
array
Details
visibility
public
final
false
static
false

hasProvider

hasProvider(  $providerOrClassName,  $processedOnly = true ) :
Arguments
$providerOrClassName
$processedOnly
Details
visibility
public
final
false
static
false

process

process( ) :

Process all of the unprocessed providers

Details
visibility
public
final
false
static
false

setProcessOnAdd

setProcessOnAdd( unknown_type $processOnAdd = true ) : unknown

Set the ProcessOnAdd flag

Arguments
$processOnAdd
unknown_type
Output
unknown
Details
visibility
public
final
false
static
false

setRegistry

setRegistry( Zend_Tool_Framework_Registry_Interface $registry ) : unknown

setRegistry()

Arguments
$registry
Zend_Tool_Framework_Registry_Interface
Output
unknown
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.