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 .
Packages: 10 Browse all classes by Protung Dragos Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 30
All time rank: Not yet ranked
Week rank: 172 in Germany Germany
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: 453 users
All time rank: 5446
Week users: 2 users
Week rank: 1166 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 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.
  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  /  Files folder image src  
File Role Description
Files folder imageWingu (1 directory)

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

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

  Files  /  src  /  Wingu  /  OctopusCore  /  Files folder image EventDispatcher  
  Files  /  src  /  Wingu  /  OctopusCore  /  EventDispatcher  /  Files folder image 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  /  src  /  Wingu  /  OctopusCore  /  EventDispatcher  /  Files folder image Exceptions  
File Role Description
  Plain text file Exception.php Class
  Plain text file InvalidArgumentException.php Class

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

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

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

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

  Files  /  tests  /  Wingu  /  OctopusCore  /  EventDispatcher  /  Files folder image 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  /  tests  /  Wingu  /  OctopusCore  /  EventDispatcher  /  Tests  /  Files folder image Integration  
File Role Description
  Accessible without login Plain text file EventDispatcherTest.php Test
  Accessible without login Plain text file TestCase.php Test

  Files  /  tests  /  Wingu  /  OctopusCore  /  EventDispatcher  /  Tests  /  Files folder image 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  /  tests  /  Wingu  /  OctopusCore  /  EventDispatcher  /  Tests  /  Unit  /  Files folder image 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.