From 60c37c7f3c6f40dff842173baeea1b59439f9856 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 18 Jul 2009 07:59:56 +0000 Subject: [PATCH] Missing getter for controllerPrefix added --- .../controller/class_BaseControllerResolver.php | 10 ++++++++++ .../console/class_ConsoleControllerResolver.php | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) 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'); } /** -- 2.39.5