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

index 3517d288e5cdb58788103bc49d791f8c3dc8377e..d93593a98f03d5afff31a19b3a71f99222c2daf7 100644 (file)
@@ -163,7 +163,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);
@@ -176,7 +176,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
@@ -195,7 +195,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 b57618b4ff21a8dbf8c31b8ac4514343c8e9995a..0e95f9656e2f0ca558169348fab9e85bbd488b46 100644 (file)
@@ -70,7 +70,7 @@ class ServerInitializationFilter extends BaseServerFilter implements Filterable
                }
 
                // Now convert the node-mode in a class name
-               $className = 'Lfdb2' . $this->convertToClassName($nodeMode) . 'Server';
+               $className = 'Lfdb2' . self::convertToClassName($nodeMode) . 'Server';
 
                // And try to instance it
                try {
diff --git a/core b/core
index f1483fbeae4881d349f9b9558340d1d56b0aab78..1f81d21b97669832b84da3680d046eb9e4afba64 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit f1483fbeae4881d349f9b9558340d1d56b0aab78
+Subproject commit 1f81d21b97669832b84da3680d046eb9e4afba64