notify() public method

Passes the message stack to all listeners and asks them to handle their messages.
public notify ( array $options = [] )
$options array An array containing display options for the listeners. Any options not contained in this list will be passed to the listeners.
listeners - (array) The list of listeners to notify.
raw - (boolean) If true, does not call the listener's notify()
      function.
Example #1
0
 /**
  */
 public function notify(array $options = array())
 {
     if ($this->_apps) {
         foreach ($this->_apps as $key => $val) {
             if (!$val) {
                 $this->addAppHandler($key);
             }
         }
         $this->_apps = false;
     }
     return parent::notify($options);
 }