]> git.mxchange.org Git - core.git/commitdiff
Missing getter for controllerPrefix added
authorRoland Häder <roland@mxchange.org>
Sat, 18 Jul 2009 07:59:56 +0000 (07:59 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 18 Jul 2009 07:59:56 +0000 (07:59 +0000)
inc/classes/main/resolver/controller/class_BaseControllerResolver.php
inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php

index 0c6d2bef84b416d54fdc77c1a53c0f848a3b5e2e..50c503d6fec11d66108c7b07c3fc2b12e81ab0ff 100644 (file)
@@ -53,6 +53,16 @@ class BaseControllerResolver extends BaseResolver {
                $this->controllerPrefix = $controllerPrefix;
        }
 
+       /**
+        * Getter for controller prefix
+        *
+        * @param       $controllerPrefix       Last validated controllerPrefix
+        * @return      void
+        */
+       protected final function getControllerPrefix () {
+               return $this->controllerPrefix;
+       }
+
        /**
         * Setter for controller name
         *
index 35430d4342cd94d17c060e526b6874af14d262e6..d8fb03210628f723432188adf10b6bda95811485 100644 (file)
@@ -42,7 +42,7 @@ class ConsoleControllerResolver extends BaseControllerResolver implements Contro
                parent::__construct(__CLASS__);
 
                // Set prefix to "Console"
-               $this->setControllerPrefix("Console");
+               $this->setControllerPrefix('Console');
        }
 
        /**