From 56f54f7f6f84c157db9a8c5b35193304e752f235 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 20 May 2014 19:27:58 +0200 Subject: [PATCH] Added missing index instance with getter/setter. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../main/class_BaseFrameworkSystem.php | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 47282b38..d7fc5dd7 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -178,6 +178,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { */ private $pointerInstance = NULL; + /** + * An instance of an index + */ + private $indexInstance = NULL; + /** * Thousands separator */ @@ -1231,7 +1236,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { /** * Setter for InputOutputPointer instance * - * @param $pointerInstance An instance of an InputOutputPointer + * @param $pointerInstance An instance of an InputOutputPointer class * @return void */ protected final function setPointerInstance (InputOutputPointer $pointerInstance) { @@ -1241,12 +1246,31 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { /** * Getter for InputOutputPointer instance * - * @return $pointerInstance An instance of an InputOutputPointer + * @return $pointerInstance An instance of an InputOutputPointer class */ public final function getPointerInstance () { return $this->pointerInstance; } + /** + * Setter for Indexable instance + * + * @param $indexInstance An instance of an Indexable class + * @return void + */ + protected final function setIndexInstance (Indexable $indexInstance) { + $this->indexInstance = $indexInstance; + } + + /** + * Getter for Indexable instance + * + * @return $indexInstance An instance of an Indexable class + */ + public final function getIndexInstance () { + return $this->indexInstance; + } + /** * Checks whether an object equals this object. You should overwrite this * method to implement own equality checks -- 2.39.2