From 2644a1716fe8801811a383d13d56f16a3796bc17 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 18 Aug 2009 18:36:05 +0000 Subject: [PATCH] Attribute listInstance is now cored --- .../main/class_BaseFrameworkSystem.php | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) 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] -- 2.30.2