Continued:
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 96d5cab..ae19aeb 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