Registry rewritten, exception added #2
[core.git] / inc / classes / main / factories / class_BaseFactory.php
index e897950..98fd48e 100644 (file)
@@ -4,7 +4,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
  *
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class BaseFactory extends BaseFrameworkSystem {
-       /**
-        * An instance of the real factory class
-        */
-       private $realFactoryInstance = null;
-
        /**
         * Protected constructor
         *
@@ -36,29 +31,6 @@ class BaseFactory extends BaseFrameworkSystem {
        protected function __construct ($className) {
                // Call parent constructor
                parent::__construct($className);
-
-               // Clean up a little
-               $this->removeNumberFormaters();
-               $this->removeSystemArray();
-       }
-
-       /**
-        * Setter for the *real* factory instance
-        *
-        * @param       $realFactoryInstance    An instance of the real factory class
-        * @return      void
-        */
-       public final function setRealFactoryInstance (BaseFrameworkSystem $realFactoryInstance) {
-               $this->realFactoryInstance = $realFactoryInstance;
-       }
-
-       /**
-        * Getter for the *real* factory instance
-        *
-        * @return      $realFactoryInstance    An instance of the real factory class
-        */
-       protected final function getRealFactoryInstance () {
-               return $this->realFactoryInstance;
        }
 }