]> git.mxchange.org Git - admin.git/blobdiff - application/admin/class_ApplicationHelper.php
Updated to latest 'core' + convertToClassName() and convertDashesToUnderscores()...
[admin.git] / application / admin / class_ApplicationHelper.php
index fc8c6575117abe1f3ffb7fc8949fc6ef90a2985c..87767f1390b5dd35fda44e6502ee2061d0f10edd 100644 (file)
@@ -193,7 +193,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
                } // END - if
 
                // ... and a new response object
-               $responseClass = sprintf('%sResponse', $this->convertToClassName($response));
+               $responseClass = sprintf('%sResponse', self::convertToClassName($response));
                $responseInstance = ObjectFactory::createObjectByName($responseClass, array($this));
 
                // Remember response instance here
@@ -212,7 +212,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
                } // END - if
 
                // Get a controller resolver
-               $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
+               $resolverClass = self::convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
                $resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this));
 
                // Get a controller instance as well