Continued:
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 96d5cabb5a5d981adf208bb232e37f8542a0fbc0..ae19aeb4938c66af993788a76cfbd9016413b6a0 100644 (file)
@@ -198,6 +198,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $minableInstance = NULL;
 
+       /**
+        * A Directory instance
+        */
+       private $directoryInstance = NULL;
+
        /**
         * Thousands separator
         */
@@ -1319,6 +1324,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                return $this->minableInstance;
        }
 
+       /**
+        * Setter for Directory instance
+        *
+        * @param       $directoryInstance      A FrameworkDirectoryPointer instance
+        * @return      void
+        */
+       protected final function setDirectoryInstance (Directory $directoryInstance) {
+               $this->directoryInstance = $directoryInstance;
+       }
+
+       /**
+        * Getter for directory instance
+        *
+        * @return      $directoryInstance      A Directory instance
+        */
+       protected final function getDirectoryInstance () {
+               return $this->directoryInstance;
+       }
+
        /**
         * Checks whether an object equals this object. You should overwrite this
         * method to implement own equality checks