public function callback($callback, $func, $args=array())
	{
		// Make sure the callback is set (this is protecting us when running in non-interactive mode and callbacks aren't set)
		if (!isset($this->callbacks[$callback]))
		{
			return false;
		}

		// Call function
		return call_user_func_array(array($this->callbacks[$callback], $func), $args);
	}
public function callback($callback, $func, $args=array())
	{
		// Make sure the callback is set (this is protecting us when running in non-interactive mode and callbacks aren't set)
		if (!isset($this->callbacks[$callback]))
		{
			return false;
		}

		// Call function
		return call_user_func_array(array($this->callbacks[$callback], $func), $args);
	}
public function callback ( $ callback , $ func , $ args = array ( ) ) { // Make sure the callback is set (this is protecting us when running in non-interactive mode and callbacks aren't set) if ( ! isset ( $ this -> callbacks [ $ callback ] ) ) { return false ; } // Call function return call_user_func_array ( array ( $ this -> callbacks [ $ callback ] , $ func ) , $ args ) ; }
Helper function for calling a given callback

@param   string  $callback  Name of callback to use
@param   string  $fund      Name of callback function to call
@param   array   $args      Args to pass to callback function
@return  mixed
Helper function for calling a given callback