Updated to latest 'core' + convertToClassName() and convertDashesToUnderscores()...
authorRoland Haeder <roland@mxchange.org>
Wed, 27 May 2015 01:29:26 +0000 (03:29 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 May 2015 01:29:26 +0000 (03:29 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/city/class_ApplicationHelper.php
core

index f713acb0a17376e0d35add3e5425406740e146f9..10739dda59ea0bff07035ded0ed1dd0b59aeba96 100644 (file)
@@ -157,7 +157,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                $responseType = self::getResponseTypeFromSystem();
 
                // Create a new request object
-               $requestInstance = ObjectFactory::createObjectByName($this->convertToClassName($response) . 'Request');
+               $requestInstance = ObjectFactory::createObjectByName(self::convertToClassName($response) . 'Request');
 
                // Remember request instance here
                $this->setRequestInstance($requestInstance);
@@ -170,7 +170,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                } // 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
@@ -189,7 +189,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                } // 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
diff --git a/core b/core
index a57889486c1cbc1a24f5926a02a80d319ed88a86..2b6327b96c604709e7b244b0171b753a13f7d270 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit a57889486c1cbc1a24f5926a02a80d319ed88a86
+Subproject commit 2b6327b96c604709e7b244b0171b753a13f7d270