code: public function trigger($eventType, $data = array())
      {
          $this->_isStop = false;
          foreach ($this->_eventListeners as $eventListener) {
              if ($this->_isStop) {
                  break;
              }
              if ($eventListener->getType() == $eventType) {
                  call_user_func_array($eventListener->getListener(), $data);
              }
          }
      }
docs: Dispatches an event.
  
  @param string $eventType Event type or a list of event types
  @param array  $data      Additional data (not required)
  
  @return void