equal
deleted
inserted
replaced
12 * obtain it through the world-wide-web, please send an email |
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. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_EventManager |
16 * @package Zend_EventManager |
17 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
17 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @license http://framework.zend.com/license/new-bsd New BSD License |
18 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 */ |
19 */ |
20 |
20 |
21 require_once 'Zend/EventManager/Event.php'; |
21 require_once 'Zend/EventManager/Event.php'; |
22 require_once 'Zend/EventManager/EventCollection.php'; |
22 require_once 'Zend/EventManager/EventCollection.php'; |
32 * Use the EventManager when you want to create a per-instance notification |
32 * Use the EventManager when you want to create a per-instance notification |
33 * system for your objects. |
33 * system for your objects. |
34 * |
34 * |
35 * @category Zend |
35 * @category Zend |
36 * @package Zend_EventManager |
36 * @package Zend_EventManager |
37 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
37 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
38 * @license http://framework.zend.com/license/new-bsd New BSD License |
38 * @license http://framework.zend.com/license/new-bsd New BSD License |
39 */ |
39 */ |
40 class Zend_EventManager_EventManager implements Zend_EventManager_EventCollection, Zend_EventManager_SharedEventCollectionAware |
40 class Zend_EventManager_EventManager implements Zend_EventManager_EventCollection, Zend_EventManager_SharedEventCollectionAware |
41 { |
41 { |
42 /** |
42 /** |
89 } |
89 } |
90 |
90 |
91 /** |
91 /** |
92 * Set static collections container |
92 * Set static collections container |
93 * |
93 * |
94 * @param Zend_EventManager_StaticEventCollection $collections |
94 * @param Zend_EventManager_SharedEventCollection $collections |
95 * @return void |
95 * @return $this |
96 */ |
96 */ |
97 public function setSharedCollections(Zend_EventManager_SharedEventCollection $collections) |
97 public function setSharedCollections(Zend_EventManager_SharedEventCollection $collections) |
98 { |
98 { |
99 $this->sharedCollections = $collections; |
99 $this->sharedCollections = $collections; |
100 return $this; |
100 return $this; |