]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/class_BaseFrameworkSystem.php
Continued:
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 47282b389ad847ce13769c57fce125fb019a8386..40ad97b19e7315b97f11e4a03440a5de327a45ba 100644 (file)
@@ -178,6 +178,16 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $pointerInstance = NULL;
 
+       /**
+        * An instance of an Indexable class
+        */
+       private $indexInstance = NULL;
+
+       /**
+        * An instance of a Block class
+        */
+       private $blockInstance = NULL;
+
        /**
         * Thousands separator
         */
@@ -203,11 +213,6 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $genericArray = array();
 
-       /**
-        * Length of output from hash()
-        */
-       private static $hashLength = NULL;
-
        /***********************
         * Exception codes.... *
         ***********************/
@@ -467,7 +472,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                $this->debugBackTrace(sprintf('Tried to set a missing field. name=%s, value[%s]=%s',
                        $name,
                        gettype($value),
-                       $value
+                       print_r($value, TRUE)
                ));
        }
 
@@ -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,50 @@ 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;
+       }
+
+       /**
+        * Setter for Block instance
+        *
+        * @param       $blockInstance  An instance of an Block class
+        * @return      void
+        */
+       protected final function setBlockInstance (Block $blockInstance) {
+               $this->blockInstance = $blockInstance;
+       }
+
+       /**
+        * Getter for Block instance
+        *
+        * @return      $blockInstance  An instance of an Block class
+        */
+       public final function getBlockInstance () {
+               return $this->blockInstance;
+       }
+
        /**
         * Checks whether an object equals this object. You should overwrite this
         * method to implement own equality checks