From: Roland Häder Date: Sat, 18 Jul 2009 07:59:56 +0000 (+0000) Subject: Missing getter for controllerPrefix added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=60c37c7f3c6f40dff842173baeea1b59439f9856;p=core.git Missing getter for controllerPrefix added --- diff --git a/inc/classes/main/resolver/controller/class_BaseControllerResolver.php b/inc/classes/main/resolver/controller/class_BaseControllerResolver.php index 0c6d2bef..50c503d6 100644 --- a/inc/classes/main/resolver/controller/class_BaseControllerResolver.php +++ b/inc/classes/main/resolver/controller/class_BaseControllerResolver.php @@ -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 * diff --git a/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php b/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php index 35430d43..d8fb0321 100644 --- a/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php +++ b/inc/classes/main/resolver/controller/console/class_ConsoleControllerResolver.php @@ -42,7 +42,7 @@ class ConsoleControllerResolver extends BaseControllerResolver implements Contro parent::__construct(__CLASS__); // Set prefix to "Console" - $this->setControllerPrefix("Console"); + $this->setControllerPrefix('Console'); } /**