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 0c6d2be..50c503d 100644 (file)
@@ -53,6 +53,16 @@ class BaseControllerResolver extends BaseResolver {
                $this->controllerPrefix = $controllerPrefix;
        }
 
                $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
         *
        /**
         * Setter for controller name
         *
index 35430d4..d8fb032 100644 (file)
@@ -42,7 +42,7 @@ class ConsoleControllerResolver extends BaseControllerResolver implements Contro
                parent::__construct(__CLASS__);
 
                // Set prefix to "Console"
                parent::__construct(__CLASS__);
 
                // Set prefix to "Console"
-               $this->setControllerPrefix("Console");
+               $this->setControllerPrefix('Console');
        }
 
        /**
        }
 
        /**