Login   Register  
PHP Classes

Class: Dispatcher

Icontem
elePHPant

  Classes of Przemek Czekaj  >  Dispatcher  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Dispatcher Support forum
Base name: dispatcher
Description: Dispatch events to registered handler classes
Version: 0.1
Required PHP version: 5.0
License: GNU General Public License (GPL)
 
  Author   Group folder image Groups   Detailed description   Freshmeat project  
  Applications   Related links   Files Files  

Author

Picture of Przemek Czekaj
Name: Przemek Czekaj <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: Poland Poland - PHP jobs in Poland
Home page: http://cojack.os-cms.pl/

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes

Detailed description

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.

Freshmeat project

Dispatcher
Project record: dispatcher

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
Dispatcher - Dyspozytor - cojack blog Information about this class at my blog

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
Plain text file index.php Example Example in index.php
Download all files: dispatcher.tar.gz dispatcher.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.