public function fetchDispatch($module = null, $actionName = null, $parameters = null)
    {
        ob_start();
        $output = $this->dispatch($module, $actionName, $parameters);
        // if nothing returned we try to load something that was printed on the screen
        if (empty($output)) {
            $output = ob_get_contents();
        } else {
            // if something was returned, flush output buffer as it is meant to be written to the screen
            ob_flush();
        }
        ob_end_clean();
        return $output;
    }
public function fetchDispatch($module = null, $actionName = null, $parameters = null)
    {
        ob_start();
        $output = $this->dispatch($module, $actionName, $parameters);
        // if nothing returned we try to load something that was printed on the screen
        if (empty($output)) {
            $output = ob_get_contents();
        } else {
            // if something was returned, flush output buffer as it is meant to be written to the screen
            ob_flush();
        }
        ob_end_clean();
        return $output;
    }
public function fetchDispatch ( $ module = null , $ actionName = null , $ parameters = null ) { ob_start ( ) ; $ output = $ this -> dispatch ( $ module , $ actionName , $ parameters ) ; // if nothing returned we try to load something that was printed on the screen if ( empty ( $ output ) ) { $ output = ob_get_contents ( ) ; } else { // if something was returned, flush output buffer as it is meant to be written to the screen ob_flush ( ) ; } ob_end_clean ( ) ; return $ output ; }
Executes the requested plugin controller method and returns the data, capturing anything the
method `echo`s.

_Note: If the plugin controller returns something, the return value is returned instead
of whatever is in the output buffer._

@param string $module The name of the plugin whose controller to execute, eg, `'UserCountryMap'`.
@param string $actionName The controller action name, eg, `'realtimeMap'`.
@param array $parameters Array of parameters to pass to the controller action method.
@return string The `echo`'d data or the return value of the controller action.
@deprecated
Executes the requested plugin controller method and returns the data capturing anything the method echo s .