]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/controller/class_BaseController.php
A lot renamed
[shipsimu.git] / inc / classes / main / controller / class_BaseController.php
index 4022a77c9370f1ea3bc5a3b3d31d05a564ec3149..f7aea5c307922c9a30552ed64bc1ea21d72f7790 100644 (file)
@@ -3,10 +3,10 @@
  * A generic controller class
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.3.0
+ * @version            0.0.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.mxchange.org
+ * @link               http://www.ship-simu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  */
 class BaseController extends BaseFrameworkSystem {
        /**
-        * Private constructor
+        * Protected constructor
         *
         * @return      void
         */
-       private function __construct () {
+       protected function __construct ($class) {
                // Call parent constructor
-               parent::constructor(__CLASS__);
+               parent::__construct($class);
 
                // Clean up a little
                $this->removeNumberFormaters();
        }
-
-       /**
-        * The public constructor
-        *
-        * @return      void
-        */
-       public function constructor ($class) {
-               // Calls just the private one
-               $this->__construct($class);
-       }
 }
 
 // [EOF]