]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/resolver/controller/class_BaseControllerResolver.php
readConfig() is not naming convention, renamed to getConfigEntry()
[core.git] / inc / classes / main / resolver / controller / class_BaseControllerResolver.php
index 85662f67546c8282619cfcca6a86ca326a4f3807..e3a57211673c9d486ac5a2ea74c7a37d803e0a5b 100644 (file)
@@ -94,7 +94,7 @@ class BaseControllerResolver extends BaseResolver {
         */
        protected function loadController ($controllerName) {
                // Cache default command
-               $defaultController = $this->getConfigInstance()->readConfig('default_' . strtolower($this->getControllerPrefix()) . '_command');
+               $defaultController = $this->getConfigInstance()->getConfigEntry('default_' . strtolower($this->getControllerPrefix()) . '_command');
 
                // Init controller instance
                $controllerInstance = null;
@@ -131,7 +131,7 @@ class BaseControllerResolver extends BaseResolver {
                        $resolverConfigEntry = sprintf("%s_cmd_%s_resolver_class", strtolower($this->getControllerPrefix()), strtolower($controllerName));
 
                        // Get the config, this will throw an exception if there is no special command resolver
-                       $resolverClass = $this->getConfigInstance()->readConfig($resolverConfigEntry);
+                       $resolverClass = $this->getConfigInstance()->getConfigEntry($resolverConfigEntry);
                } catch (ConfigEntryNotFoundException $e) {
                        // Use default resolver entry
                        // @TODO Maybe we need to log this?