]> git.mxchange.org Git - shipsimu.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:42:15 +0000 (21:42 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2012 21:42:15 +0000 (21:42 +0000)
application/selector/class_ApplicationHelper.php
application/ship-simu/class_ApplicationHelper.php

index 3eba4589649c953170aaf9f4de3d0a80781070de..dea9158ddc35d5466ce5c5e6c267e0929a3f0a83 100644 (file)
@@ -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
index 3eba4589649c953170aaf9f4de3d0a80781070de..dea9158ddc35d5466ce5c5e6c267e0929a3f0a83 100644 (file)
@@ -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