PHP Classes

Dispatcher: Dispatch events to registered handler classes

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 557 All time: 5,467 This week: 455Up
Version License PHP version Categories
dispatcher 0.1GNU General Publi...5.0PHP 5, Language


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: 36
All time rank: 315574 in Poland Poland
Week rank: 214 Up9 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  
This week:0
All time:5,467
This week:455Up