]> git.mxchange.org Git - admin.git/commitdiff
Global fix for generating right class name for controller resolver (to make that...
authorRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2012 21:41:20 +0000 (21:41 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2012 21:41:20 +0000 (21:41 +0000)
application/admin/class_ApplicationHelper.php

index b949d7eee45d55e17d638146227c0ae93353bb9f..b20f493611b2708645268d8fc56193e397626db9 100644 (file)
@@ -211,8 +211,8 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
                        $requestInstance->setRequestElement('page', $commandName);
                } // END - if
 
                        $requestInstance->setRequestElement('page', $commandName);
                } // END - if
 
-               // Get a resolver
-               $resolverClass = sprintf("%sControllerResolver", $this->convertToClassName($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
                $resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this));
 
                // Get a controller instance as well