]> git.mxchange.org Git - hub.git/blobdiff - application/hub/class_ApplicationHelper.php
Renamed endElement() to finishElement(), see the final implementation in BaseXmlTempl...
[hub.git] / application / hub / class_ApplicationHelper.php
index 82c3ae4712be464034fe0f757b9ff5646740cf07..6c1f8858bf6e6ce42cb006d2a57a2cc523b6fb28 100644 (file)
@@ -194,8 +194,8 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                        $requestInstance->setRequestElement('command', $commandName);
                } // END - if
 
-               // Get a resolver
-               $resolverClass = sprintf("Hub%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