From: Roland Haeder Date: Tue, 20 May 2014 17:27:58 +0000 (+0200) Subject: Added missing index instance with getter/setter. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=56f54f7f6f84c157db9a8c5b35193304e752f235;p=core.git Added missing index instance with getter/setter. Signed-off-by: Roland Häder --- 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