]> git.mxchange.org Git - core.git/commitdiff
Attribute listInstance is now cored
authorRoland Häder <roland@mxchange.org>
Tue, 18 Aug 2009 18:36:05 +0000 (18:36 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 18 Aug 2009 18:36:05 +0000 (18:36 +0000)
inc/classes/main/class_BaseFrameworkSystem.php

index d574f4129ed3e0e4e347f25eec0d962503ba7045..5237b802b1faedba51b31d9a45f985d39f5aead9 100644 (file)
@@ -83,6 +83,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $iteratorInstance = null;
 
+       /**
+        * Instance of the list
+        */
+       private $listInstance = null;
+
        /**
         * The real class name
         */
@@ -1158,6 +1163,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                // Return result
                return $hasSlept;
        }
+
+       /**
+        * Setter for the list instance
+        *
+        * @param       $listInstance   A list of Listable
+        * @return      void
+        */
+       protected final function setListInstance (Listable $listInstance) {
+               $this->listInstance = $listInstance;
+       }
+
+       /**
+        * Getter for the list instance
+        *
+        * @return      $listInstance   A list of Listable
+        */
+       protected final function getListInstance () {
+               return $this->listInstance;
+       }
 }
 
 // [EOF]