]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/class_BaseFrameworkSystem.php
Continued:
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index ff444c06f8681df3428054fade689be3103f334e..ae19aeb4938c66af993788a76cfbd9016413b6a0 100644 (file)
@@ -5,7 +5,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -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