|
1 <?php |
|
2 /** |
|
3 * Zend Framework |
|
4 * |
|
5 * LICENSE |
|
6 * |
|
7 * This source file is subject to the new BSD license that is bundled |
|
8 * with this package in the file LICENSE.txt. |
|
9 * It is also available through the world-wide-web at this URL: |
|
10 * http://framework.zend.com/license/new-bsd |
|
11 * If you did not receive a copy of the license and are unable to |
|
12 * obtain it through the world-wide-web, please send an email |
|
13 * to license@zend.com so we can send you a copy immediately. |
|
14 * |
|
15 * @category Zend |
|
16 * @package Zend_Tool |
|
17 * @subpackage Framework |
|
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
20 * @version $Id: Manifest.php 20096 2010-01-06 02:05:09Z bkarwin $ |
|
21 */ |
|
22 |
|
23 require_once 'Zend/Tool/Framework/Manifest/ProviderManifestable.php'; |
|
24 require_once 'Zend/Tool/Framework/Manifest/ActionManifestable.php'; |
|
25 require_once 'Zend/Tool/Framework/System/Provider/Version.php'; |
|
26 require_once 'Zend/Tool/Framework/System/Provider/Config.php'; |
|
27 require_once 'Zend/Tool/Framework/System/Provider/Phpinfo.php'; |
|
28 require_once 'Zend/Tool/Framework/System/Provider/Manifest.php'; |
|
29 require_once 'Zend/Tool/Framework/System/Action/Create.php'; |
|
30 require_once 'Zend/Tool/Framework/System/Action/Delete.php'; |
|
31 |
|
32 /** |
|
33 * @category Zend |
|
34 * @package Zend_Tool |
|
35 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
36 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
37 */ |
|
38 class Zend_Tool_Framework_System_Manifest |
|
39 implements Zend_Tool_Framework_Manifest_ProviderManifestable, Zend_Tool_Framework_Manifest_ActionManifestable |
|
40 { |
|
41 |
|
42 public function getProviders() |
|
43 { |
|
44 $providers = array( |
|
45 new Zend_Tool_Framework_System_Provider_Version(), |
|
46 new Zend_Tool_Framework_System_Provider_Config(), |
|
47 new Zend_Tool_Framework_System_Provider_Phpinfo(), |
|
48 new Zend_Tool_Framework_System_Provider_Manifest() |
|
49 ); |
|
50 |
|
51 return $providers; |
|
52 } |
|
53 |
|
54 public function getActions() |
|
55 { |
|
56 $actions = array( |
|
57 new Zend_Tool_Framework_System_Action_Create(), |
|
58 new Zend_Tool_Framework_System_Action_Delete() |
|
59 ); |
|
60 |
|
61 return $actions; |
|
62 } |
|
63 } |