]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/class_ApplicationHelper.php
Actions (so called sub-commands) may now have own pre/post filter, profile update...
[shipsimu.git] / application / ship-simu / class_ApplicationHelper.php
index ab372a5f8cb3a0a6cc27b4609ba38a86b4171108..32bd7649120547a880d2563198ed87353a850153 100644 (file)
@@ -193,7 +193,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                $this->setResponseInstance($responseInstance);
 
                // Get the parameter from the request
                $this->setResponseInstance($responseInstance);
 
                // Get the parameter from the request
-               $commandName = $requestInstance->getRequestElement("page");
+               $commandName = $requestInstance->getRequestElement('page');
 
                // If it is null then get default command
                if (is_null($commandName)) {
 
                // If it is null then get default command
                if (is_null($commandName)) {
@@ -204,7 +204,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                $resolverInstance = WebControllerResolver::createWebControllerResolver($commandName, $this);
 
                // Get a controller instance as well
                $resolverInstance = WebControllerResolver::createWebControllerResolver($commandName, $this);
 
                // Get a controller instance as well
-               $this->controllerInstance = $resolverInstance->resolveCommandController();
+               $this->controllerInstance = $resolverInstance->resolveController();
 
                // Handle the request
                $this->controllerInstance->handleRequest($requestInstance, $responseInstance);
 
                // Handle the request
                $this->controllerInstance->handleRequest($requestInstance, $responseInstance);