PHP Classes

Dispatcher: Dispatch events to registered handler classes

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-09-22 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 544 This week: 1All time: 5,151 This week: 1,052Up
Version License PHP version Categories  
dispatcher 0.1GNU General Publi...5.0PHP 5, Language
Description Author  

This class cam be used dispatch events to registered handler classes.

It can register a class to handle events with a given name.

When an event occurs, the class can dispatch it by creating and calling an object of the registered handler class.

This class may also retrieve the response of event dispatching call returned by the handler class.

Picture of Przemek Czekaj
Name: Przemek Czekaj <contact>
Classes: 1 package by
Country: Poland Poland
Age: 28
All time rank: 291072 in Poland Poland
Week rank: 843 Up24 in Poland Poland Up

  Files folder image Files  
File Role Description
Plain text file Dispatcher.php Class Dispatcher class
Plain text file EventHandler.php Class abstract class
Plain text file Handled.php Class interface
Plain text file HandlerShow.php Class Example of handle
Accessible without login Plain text file index.php Example Example in index.php

 Version Control Unique User Downloads Download Rankings  
 0%Total:544All time:5,151
 This week:1This week:1,052Up