diff options
author | matthieu_ <matthieu_@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2007-08-16 18:44:07 +0400 |
---|---|---|
committer | matthieu_ <matthieu_@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2007-08-16 18:44:07 +0400 |
commit | d24603379e1b00435854b017148d484f4206bbfc (patch) | |
tree | 90b7df8e41d8471073475524425e48fa09c73692 /libs | |
parent | 3eaacaef9d98a9ae8ee122071bca9e8fbc3ea122 (diff) |
- Added plugins to load in config file
- added plugins to archiving
- Implemented the complex part of day archiving
- moved filter into separate files and wrote new filter callbackColumn
- added features to dataTable (isEqual) and datatable_row (isEqual, sumRow)
- added a few tests
Diffstat (limited to 'libs')
-rwxr-xr-x | libs/Event/Dispatcher.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/Event/Dispatcher.php b/libs/Event/Dispatcher.php index 1fa91f85a5..afe47cf8e6 100755 --- a/libs/Event/Dispatcher.php +++ b/libs/Event/Dispatcher.php @@ -122,10 +122,10 @@ class Event_Dispatcher * @access private * @param string Name of the notification dispatcher. */ - function Event_Dispatcher($name) - { - Event_Dispatcher::__construct($name); - } +// function Event_Dispatcher($name) +// { +// Event_Dispatcher::__construct($name); +// } /** * PHP5 constructor @@ -153,7 +153,7 @@ class Event_Dispatcher * * @return object Event_Dispatcher */ - function &getInstance($name = '__default') + static function getInstance($name = '__default') { static $dispatchers = array(); @@ -246,7 +246,7 @@ class Event_Dispatcher */ function &post(&$object, $nName, $info = array(), $pending = true, $bubble = true) { - $notification =& new $this->_notificationClass($object, $nName, $info); + $notification = new $this->_notificationClass($object, $nName, $info); return $this->postNotification($notification, $pending, $bubble); } |