]> git.mxchange.org Git - shipsimu.git/commitdiff
Updated to latest 'core' + convertToClassName() and convertDashesToUnderscores()...
authorRoland Haeder <roland@mxchange.org>
Wed, 27 May 2015 01:37:43 +0000 (03:37 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 May 2015 01:37:43 +0000 (03:37 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/selector/class_ApplicationHelper.php
application/shipsimu/class_ApplicationHelper.php
core

index 8f93e18806e8cf211ae56a08ebd736c549875de2..204800fa0989a380bd091bf2684522ff4badb73b 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
index 8f93e18806e8cf211ae56a08ebd736c549875de2..204800fa0989a380bd091bf2684522ff4badb73b 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..1f81d21b97669832b84da3680d046eb9e4afba64 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit a57889486c1cbc1a24f5926a02a80d319ed88a86
+Subproject commit 1f81d21b97669832b84da3680d046eb9e4afba64