Ejemplo n.º 1
0
 /**
  * Returns a simple event dispatcher that simply implements the dispatcher interface
  * with no additional functionality added to it. This returns a singletion dispatcher,
  * so it is reused each time this method is called (i.e. you get the same object
  * back no matter how many times you call this method).
  * 
  * @return simple dispatcher singleton
  */
 public static function getSimpleDispatcher()
 {
     if (!isset(self::$simple)) {
         self::$simple = new M3_Event_SimpleDispatcher();
     }
     return self::$simple;
 }