PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Event » Event_Dispatcher

Dispatch notifications using PHP callbacks

This package is unmaintained.

Download latest release 1.1.0 (archived versions might be outdated)

License: BSD License

Description

The Event_Dispatcher acts as a notification dispatch table.
It is used to notify other objects of interesting things. This
information is encapsulated in Event_Notification objects. Client
objects register themselves with the Event_Dispatcher as observers of
specific notifications posted by other objects. When an event occurs,
an object posts an appropriate notification to the Event_Dispatcher.
The Event_Dispatcher dispatches a message to each registered
observer, passing the notification as the sole argument.

Documentation

Manual

Maintainers

Dependencies

Required

Releases

Bugs

IDStatusTypeVersionDateSummary
#4077BogusBug2005-04-06Corrupted package
#4927ClosedReq2005-07-26get the list of observers already attached
#7459OpenReq1.0.02006-04-22Add support for filtering notifications by class hierarchy rather than name
#7939OpenReq1.0.02006-06-19Inheritance of Event_Dispatcher
#15271AssignedReq1.0.02008-12-07Converted for php5
#18789OpenBugSVN2011-09-05Not installed from SVN
#18926OpenDoc1.1.02011-10-23addObserver() doesn't notify of pending notifications for new global observer
#19457AssignedBug1.1.02012-06-05Deprecated practice with PHP 5