From: Roland Häder Date: Thu, 20 Dec 2012 21:42:07 +0000 (+0000) Subject: Global fix for generating right class name for controller resolver (to make that... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f6bdb8e56e865bade4fac5257f91c00b116734ee;p=qa.git Global fix for generating right class name for controller resolver (to make that code part more generic and later move out to 'core' project as a new class/method) --- diff --git a/application/qa/class_ApplicationHelper.php b/application/qa/class_ApplicationHelper.php index 1ec577a..edff014 100644 --- a/application/qa/class_ApplicationHelper.php +++ b/application/qa/class_ApplicationHelper.php @@ -188,8 +188,8 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica $requestInstance->setRequestElement('command', $commandName); } // END - if - // Get a resolver - $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType); + // Get a controller resolver + $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver'); $resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this)); // Get a controller instance as well