Event_Dispatcher

Table of Contents
Introduction -- Introduction to Event_Dispatcher
Examples -- Examples for the usage of Event_Dispatcher
Event_Dispatcher::getInstance() -- Create a new Event_Dispatcher object
Event_Dispatcher::getName() -- Get the name of the dispatcher.
Event_Dispatcher::addObserver() -- Add a new observer.
Event_Dispatcher::removeObserver() -- Remove an observer.
Event_Dispatcher::setNotificationClass() -- Set the class that is used as notification.
Event_Dispatcher::post() -- Post a notification.
Event_Dispatcher::addNestedDispatcher() -- Add a nested dispatcher.
Event_Dispatcher::removeNestedDispatcher() -- Remove a nested dispatcher.
Event_Notification -- Container class for notifications.
Event_Notification::Event_Notification() -- Create a new notification object.
Event_Notification::getNotificationName() -- Get the name of the notification.
Event_Notification::getNotificationObject() -- Get the object that sent the notification.
Event_Notification::getNotificationInfo() -- Get additional information from the notification.
Event_Notification::getNotificationCount() -- Get number of observers notified.
Event_Notification::cancelNotification() -- Cancel the notification.
Event_Notification::isNotificationCancelled() -- Check, whether notification has been cancelled.

Dispatch notifications using PHP callbacks