w3-tools.com - Free Webmaster Tools and Resources
 
w3-tools.com - Free Webmaster Tools and Resources
 Free Webmaster Tools and Resources

 



PEAR Manual

This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.

PEAR Manual

PEAR Manual

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

Newsletter

Join to our newsletter and receive news and updates about our site.
Your name: 
E-mail address: 
Action: 
 

Hosted by

Search

Google
Web w3-tools.com

Links

  What is my IP? Find your IP address!     Valid XHTML 1.0 Transitional  
Copyright © 2006. by w3-tools.com. All rights reserved