public function getController($module, $action, array &$parameters)
{
$controller = $this->createPluginController($module, $action);
if ($controller) {
return $controller;
}
$controller = $this->createWidgetController($module, $action, $parameters);
if ($controller) {
return $controller;
}
$controller = $this->createReportController($module, $action, $parameters);
if ($controller) {
return $controller;
}
throw new Exception(sprintf("Action '%s' not found in the module '%s'", $action, $module));
}