Login   Register  
PHP Classes
elePHPant
Icontem

PHP Event Dispatcher: Register events and call registered listeners

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Protung Dragos
Name: Protung Dragos is available for providing paid consulting. Contact Protung Dragos .
Classes: 10 packages by
Country: Germany Germany
Age: 31
All time rank: 353 in Germany Germany
Week rank: 26 Up3 in Germany Germany Equal
Innovation award
Innovation award
Nominee: 3x


  Detailed description   Download Download .zip .tar.gz  
This package can register events and call registered listeners.

It can register an event listener by associating a name to a callback function that will be invoked when an event with that name happens.

Event listeners may be registered to handle a group of events defined by a event name pattern.

The event name matching may be defined also by an object that determines if a given event should be handled by the subscribed event handler.

Events are be dispatched by calling the registered event listeners.

Registered event listeners may have an associated priority number so they can be called by the order defined by their priority.

Event listeners callback functions may take parameters that define the context of the event.

  Classes of Protung Dragos  >  PHP Event Dispatcher  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Event Dispatcher
Base name: event-dispatcher
Description: Register events and call registered listeners
Version: 1.0.0
PHP version: 5.4
License: MIT/X Consortium License
All time users: 471 users
All time rank: 5418
Week users: 1 user
Week rank: 1521 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  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
Group folder image Design Patterns Implementations of well known design patterns View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imagesrc (1 directory)
Files folder imagetests (1 directory)
Accessible without login Plain text file .gitattributes Data
Accessible without login Plain text file .gitignore Data
Accessible without login Plain text file composer.json Data
Accessible without login Plain text file LICENSE Data
Accessible without login Plain text file phpunit.xml.dist Data
Accessible without login Plain text file readme.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageWingu (1 directory)

  Files folder image Files  /  src  /  Wingu  
File Role Description
Files folder imageOctopusCore (1 directory)

  Files folder image Files  /  src  /  Wingu  /  OctopusCore  
File Role Description
Files folder imageEventDispatcher (12 files, 2 directories)

  Files folder image Files  /  src  /  Wingu  /  OctopusCore  /  EventDispatcher  
  Files folder image Files  /  src  /  Wingu  /  OctopusCore  /  EventDispatcher  /  EventNameMatcher  
File Role Description
  Plain text file AllNamesMatcher.php Class
  Plain text file EventNameMatcherFactory.php Class
  Plain text file EventNameMatcherInterface.php Class
  Plain text file NameMatcher.php Class
  Plain text file RegexMatcher.php Class
  Plain text file WildcardMatcher.php Class

  Files folder image Files  /  src  /  Wingu  /  OctopusCore  /  EventDispatcher  /  Exceptions  
File Role Description
  Plain text file Exception.php Class
  Plain text file InvalidArgumentException.php Class

  Files folder image Files  /  tests  
File Role Description
Files folder imageWingu (1 directory)

  Files folder image Files  /  tests  /  Wingu  
File Role Description
Files folder imageOctopusCore (1 directory)

  Files folder image Files  /  tests  /  Wingu  /  OctopusCore  
File Role Description
Files folder imageEventDispatcher (1 directory)

  Files folder image Files  /  tests  /  Wingu  /  OctopusCore  /  EventDispatcher  
File Role Description
Files folder imageTests (1 file, 2 directories)

  Files folder image Files  /  tests  /  Wingu  /  OctopusCore  /  EventDispatcher  /  Tests  
File Role Description
Files folder imageIntegration (2 files)
Files folder imageUnit (6 files, 1 directory)
  Accessible without login Plain text file TestCase.php Test

  Files folder image Files  /  tests  /  Wingu  /  OctopusCore  /  EventDispatcher  /  Tests  /  Integration  
File Role Description
  Accessible without login Plain text file EventDispatcherTest.php Test
  Accessible without login Plain text file TestCase.php Test

  Files folder image Files  /  tests  /  Wingu  /  OctopusCore  /  EventDispatcher  /  Tests  /  Unit  
File Role Description
Files folder imageEventNameMatcher (5 files)
  Accessible without login Plain text file EventDispatcherTest.php Test
  Accessible without login Plain text file EventDispatcherTraitTest.php Test
  Accessible without login Plain text file EventTest.php Test
  Accessible without login Plain text file ExceptionEventTest.php Test
  Accessible without login Plain text file SubscriptionTest.php Test
  Accessible without login Plain text file TestCase.php Test

  Files folder image Files  /  tests  /  Wingu  /  OctopusCore  /  EventDispatcher  /  Tests  /  Unit  /  EventNameMatcher  
File Role Description
  Accessible without login Plain text file AllNamesMatcherTest.php Test
  Accessible without login Plain text file EventNameMatcherFactoryTest.php Test
  Accessible without login Plain text file NameMatcherTest.php Test
  Accessible without login Plain text file RegexMatcherTest.php Test
  Accessible without login Plain text file WildcardMatcherTest.php Test

Download Download all files: event-dispatcher.tar.gz event-dispatcher.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.