original_string: protected function triggerListeners($method, array $params = array())
  	{
  		if($this->muteListeners === true)
  			return;
  
  		// Mute all the listeners cause we don't want listeners called in listeners
  		// If we do so: unmute the listeners in the listener method itself
  		$this->muteListeners = true;
  
  		foreach($this->listeners as $l) {
  			/** @var DBListener $l */
  			call_user_func_array(array($l, $method), $params);
  		}
  
  		// Unmute listeners cause from now on we're not in a listener method anymore
  		$this->muteListeners = false;
  	}
code: protected function triggerListeners($method, array $params = array())
  	{
  		if($this->muteListeners === true)
  			return;
  
  		// Mute all the listeners cause we don't want listeners called in listeners
  		// If we do so: unmute the listeners in the listener method itself
  		$this->muteListeners = true;
  
  		foreach($this->listeners as $l) {
  			/** @var DBListener $l */
  			call_user_func_array(array($l, $method), $params);
  		}
  
  		// Unmute listeners cause from now on we're not in a listener method anymore
  		$this->muteListeners = false;
  	}
code_tokens: protected function triggerListeners ( $ method , array $ params = array ( ) ) { if ( $ this -> muteListeners === true ) return ; // Mute all the listeners cause we don't want listeners called in listeners // If we do so: unmute the listeners in the listener method itself $ this -> muteListeners = true ; foreach ( $ this -> listeners as $ l ) { /** @var DBListener $l */ call_user_func_array ( array ( $ l , $ method ) , $ params ) ; } // Unmute listeners cause from now on we're not in a listener method anymore $ this -> muteListeners = false ; }
docstring: Triggers a call of a specific method from all registered listener classes if the listeners are not set to mute
  @param string $method The listener method that should be called
  @param array $params The parameters for the listener method
docstring_tokens: Triggers a call of a specific method from all registered listener classes if the listeners are not set to mute