From: Roland Häder Date: Tue, 18 Aug 2009 18:36:05 +0000 (+0000) Subject: Attribute listInstance is now cored X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2644a1716fe8801811a383d13d56f16a3796bc17;p=core.git Attribute listInstance is now cored --- diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index d574f412..5237b802 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -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]