API Documentation

Tool/Framework/Manifest/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_Manifest_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_Manifest_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
$_manifests
$_metadatas
Methods
setRegistry
addManifest
getManifests
addMetadata
process
getMetadatas
getMetadata
__toString
count
getIterator

Description

Properties

$_manifests

array $_manifests = 'array'

Details

$_manifests
array
visibility
protected
default
array
final
false
static
false

$_metadatas

array $_metadatas = 'array'

Details

$_metadatas
array
Array of Zend_Tool_Framework_Metadata_Interface
visibility
protected
default
array
final
false
static
false

$_registry

Zend_Tool_Framework_Provider_Registry_Interface $_registry = 'null'

Details

$_registry
Zend_Tool_Framework_Provider_Registry_Interface
visibility
protected
default
null
final
false
static
false

Methods

__toString

__toString( ) : string

__toString() - cast to string

Output
string
Details
visibility
public
final
false
static
false

addManifest

addManifest( Zend_Tool_Framework_Manifest_Interface $manifest ) : Zend_Tool_Framework_Manifest_Repository

addManifest() - Add a manifest for later processing

Arguments
$manifest
Zend_Tool_Framework_Manifest_Interface
Details
visibility
public
final
false
static
false

addMetadata

addMetadata( Zend_Tool_Framework_Manifest_Metadata $metadata ) : Zend_Tool_Framework_Manifest_Repository

addMetadata() - add a metadata peice by peice

Arguments
$metadata
Zend_Tool_Framework_Manifest_Metadata
Details
visibility
public
final
false
static
false

count

count( ) : int

count() - required by the Countable Interface

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

getManifests

getManifests( ) : Zend_Tool_Framework_Manifest_Interface[]

getManifests()

Details
visibility
public
final
false
static
false

getMetadata

getMetadata( array $searchProperties = array, bool $includeNonExistentProperties = true ) : Zend_Tool_Framework_Manifest_Metadata

getMetadata() - This will proxy to getMetadatas(), but will only return a single metadata. This method should be used in situations where the search criteria is known to only find a single metadata object

Arguments
$searchProperties
array
$includeNonExistentProperties
bool
Output
Zend_Tool_Framework_Manifest_Metadata
Details
visibility
public
final
false
static
false

getMetadatas

getMetadatas( array $searchProperties = array, bool $includeNonExistentProperties = true ) : Zend_Tool_Framework_Manifest_Metadata[]

getMetadatas() - This is the main search function for the repository.

example: This will retrieve all metadata that matches the following criteria $manifestRepo->getMetadatas(array( 'providerName' => 'Version', 'actionName' => 'show' ));

Arguments
$searchProperties
array
$includeNonExistentProperties
bool
Output
Zend_Tool_Framework_Manifest_Metadata[]
Details
visibility
public
final
false
static
false

process

process( ) : Zend_Tool_Framework_Manifest_Repository

process() - Process is expected to be called at the end of client construction time.

By this time, the loader has run and loaded any found manifests into the repository for loading

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.