Registry rewritten, exception added #2
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 9ef0a809107303e908594b27bd6f5553eff4cf50..27e33b8f07a496554f4cac2131e0ecac52bbee42 100644 (file)
@@ -5,7 +5,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -108,6 +108,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $compressorInstance = null;
 
+       /**
+        * A Parseable instance
+        */
+       private $parserInstance = null;
+
        /**
         * The real class name
         */
@@ -1320,6 +1325,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
        public final function getCompressorInstance () {
                return $this->compressorInstance;
        }
+
+       /**
+        * Setter for Parseable instanxe
+        *
+        * @param       $parserInstance An instance of an Parseable
+        * @return      void
+        */
+       public final function setParserInstance (Parseable $parserInstance) {
+               $this->parserInstance = $parserInstance;
+       }
+
+       /**
+        * Getter for Parseable instanxe
+        *
+        * @return      $parserInstance An instance of an Parseable
+        */
+       public final function getParserInstance () {
+               return $this->parserInstance;
+       }
 }
 
 // [EOF]