import v2.0.0.0_RC3 | 2012-07-01

https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
2019-07-17 22:31:04 +02:00
parent 38c146901c
commit 2f397f01f7
2677 changed files with 296182 additions and 45159 deletions

View File

@ -17,7 +17,7 @@
* @subpackage Framework
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: ActionManifestable.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: ActionManifestable.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -36,12 +36,12 @@ interface Zend_Tool_Framework_Manifest_ActionManifestable extends Zend_Tool_Fram
/**
* getActions()
*
*
* Should either return a single action, or an array
* of actions
*
*
* @return array|Zend_Tool_Framework_Action_Interface
*/
public function getActions();
}

View File

@ -17,7 +17,7 @@
* @subpackage Framework
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Exception.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: Exception.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -33,5 +33,5 @@ require_once 'Zend/Tool/Framework/Exception.php';
*/
class Zend_Tool_Framework_Manifest_Exception extends Zend_Tool_Framework_Exception
{
}

View File

@ -17,7 +17,7 @@
* @subpackage Framework
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Indexable.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: Indexable.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -31,12 +31,12 @@ interface Zend_Tool_Framework_Manifest_Indexable extends Zend_Tool_Framework_Man
/**
* getActions()
*
*
* Should either return a single action, or an array
* of actions
*
*
* @return array|Zend_Tool_Framework_Action_Interface
*/
public function getIndex();
}

View File

@ -16,7 +16,7 @@
* @package Zend_Tool
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Interface.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: Interface.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -27,56 +27,56 @@
*/
interface Zend_Tool_Framework_Manifest_Interface
{
/**
* The following methods are completely optional, and any combination of them
* can be used as part of a manifest. The manifest repository will process
* the return values of these actions as specfied in the following method docblocks.
*
*
* Since these actions are
*
*
*/
/**
* getMetadata()
*
*
* Should either return a single metadata object or an array
* of metadata objects
*
*
* @return array|Zend_Tool_Framework_Manifest_Metadata
**
public function getMetadata();
**/
/**
* getActions()
*
*
* Should either return a single action, or an array
* of actions
*
*
* @return array|Zend_Tool_Framework_Action_Interface
**
public function getActions();
**/
/**
* getProviders()
*
*
* Should either return a single provider or an array
* of providers
*
*
**
public function getProviders();
**/
}

View File

@ -17,7 +17,7 @@
* @subpackage Framework
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: MetadataManifestable.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: MetadataManifestable.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -36,12 +36,12 @@ interface Zend_Tool_Framework_Manifest_MetadataManifestable extends Zend_Tool_Fr
/**
* getMetadata()
*
*
* Should either return a single metadata object or an array
* of metadata objects
*
*
* @return array|Zend_Tool_Framework_Manifest_Metadata
*/
*/
public function getMetadata();
}

View File

@ -17,7 +17,7 @@
* @subpackage Framework
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: ProviderManifestable.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: ProviderManifestable.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -36,12 +36,12 @@ interface Zend_Tool_Framework_Manifest_ProviderManifestable extends Zend_Tool_Fr
/**
* getProviders()
*
*
* Should either return a single provider or an array
* of providers
*
*
* @return array|string|Zend_Tool_Framework_Provider_Interface
*/
public function getProviders();
}

View File

@ -17,7 +17,7 @@
* @subpackage Framework
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Repository.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: Repository.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -39,7 +39,7 @@ class Zend_Tool_Framework_Manifest_Repository
* @var Zend_Tool_Framework_Provider_Registry_Interface
*/
protected $_registry = null;
/**
* @var array
*/
@ -61,7 +61,7 @@ class Zend_Tool_Framework_Manifest_Repository
$this->_registry = $registry;
return $this;
}
/**
* addManifest() - Add a manifest for later processing
*
@ -70,14 +70,14 @@ class Zend_Tool_Framework_Manifest_Repository
*/
public function addManifest(Zend_Tool_Framework_Manifest_Interface $manifest)
{
// we need to get an index number so that manifests with
// we need to get an index number so that manifests with
// higher indexes have priority over others
$index = count($this->_manifests);
if ($manifest instanceof Zend_Tool_Framework_Registry_EnabledInterface) {
$manifest->setRegistry($this->_registry);
}
// if the manifest supplies a getIndex() method, use it
if ($manifest instanceof Zend_Tool_Framework_Manifest_Indexable) {
$index = $manifest->getIndex();
@ -86,7 +86,7 @@ class Zend_Tool_Framework_Manifest_Repository
// get the required objects from the framework registry
$actionRepository = $this->_registry->getActionRepository();
$providerRepository = $this->_registry->getProviderRepository();
// load providers if interface supports that method
if ($manifest instanceof Zend_Tool_Framework_Manifest_ProviderManifestable) {
$providers = $manifest->getProviders();
@ -98,7 +98,7 @@ class Zend_Tool_Framework_Manifest_Repository
if (!$provider instanceof Zend_Tool_Framework_Provider_Interface) {
require_once 'Zend/Tool/Framework/Manifest/Exception.php';
throw new Zend_Tool_Framework_Manifest_Exception(
'A provider provided by the ' . get_class($manifest)
'A provider provided by the ' . get_class($manifest)
. ' does not implement Zend_Tool_Framework_Provider_Interface'
);
}
@ -127,7 +127,7 @@ class Zend_Tool_Framework_Manifest_Repository
// should we detect collisions here? does it even matter?
$this->_manifests[$index] = $manifest;
ksort($this->_manifests);
return $this;
}
@ -140,7 +140,7 @@ class Zend_Tool_Framework_Manifest_Repository
{
return $this->_manifests;
}
/**
* addMetadata() - add a metadata peice by peice
*
@ -152,10 +152,10 @@ class Zend_Tool_Framework_Manifest_Repository
$this->_metadatas[] = $metadata;
return $this;
}
/**
* 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
* By this time, the loader has run and loaded any found manifests into the repository
* for loading
*
* @return Zend_Tool_Framework_Manifest_Repository
@ -189,13 +189,13 @@ class Zend_Tool_Framework_Manifest_Repository
/**
* 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'
* ));
*
*
* @param array $searchProperties
* @param bool $includeNonExistentProperties
* @return Zend_Tool_Framework_Manifest_Metadata[]
@ -204,7 +204,7 @@ class Zend_Tool_Framework_Manifest_Repository
{
$returnMetadatas = array();
// loop through the metadatas so that we can search each individual one
foreach ($this->_metadatas as $metadata) {
@ -233,7 +233,7 @@ class Zend_Tool_Framework_Manifest_Repository
return $returnMetadatas;
}
/**
* 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
@ -276,7 +276,7 @@ class Zend_Tool_Framework_Manifest_Repository
return $string;
}
/**
* count() - required by the Countable Interface
*
@ -286,7 +286,7 @@ class Zend_Tool_Framework_Manifest_Repository
{
return count($this->_metadatas);
}
/**
* getIterator() - required by the IteratorAggregate interface
*