Added missing index instance with getter/setter.
authorRoland Haeder <roland@mxchange.org>
Tue, 20 May 2014 17:27:58 +0000 (19:27 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 20 May 2014 17:27:58 +0000 (19:27 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/class_BaseFrameworkSystem.php

index 47282b389ad847ce13769c57fce125fb019a8386..d7fc5dd7c1bc739e0de3d5acec6a29905ae950ee 100644 (file)
@@ -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