]> git.mxchange.org Git - qa.git/commitdiff
Updated to latest 'core' + convertToClassName() and convertDashesToUnderscores()...
authorRoland Haeder <roland@mxchange.org>
Wed, 27 May 2015 01:36:58 +0000 (03:36 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 May 2015 01:36:58 +0000 (03:36 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/.htaccess [new file with mode: 0644]
application/qa/class_ApplicationHelper.php
core

diff --git a/application/.htaccess b/application/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
index 7d6074264073df653109949796949d6518b68f0b..84ce5cf584dac9bc73fd23d19edcb4f4f9d314f0 100644 (file)
@@ -157,7 +157,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                $responseType = $this->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 f1483fbeae4881d349f9b9558340d1d56b0aab78..1f81d21b97669832b84da3680d046eb9e4afba64 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit f1483fbeae4881d349f9b9558340d1d56b0aab78
+Subproject commit 1f81d21b97669832b84da3680d046eb9e4afba64