コード例 #1
0
 /**
  *
  * @return Bc_Event_Dispatcher
  */
 public static function getInstance()
 {
     if (self::$_instance == null) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
コード例 #2
0
ファイル: Form.php プロジェクト: BGCX262/zsoc-svn-to-git
 public function getEventDispatcher()
 {
     if ($this->_eventDispatcher == null) {
         $this->_eventDispatcher = Bc_Event_Dispatcher::getInstance();
     }
     return $this->_eventDispatcher;
 }
コード例 #3
0
ファイル: Event.php プロジェクト: BGCX262/zsoc-svn-to-git
 public function dispatch()
 {
     return Bc_Event_Dispatcher::getInstance()->dispatchEvent($this);
 }