Method constructor() removed, several small fixes
[shipsimu.git] / inc / classes / main / controller / class_BaseController.php
index 4022a77c9370f1ea3bc5a3b3d31d05a564ec3149..82dba69d6f22d4bec610326317c56ac54909f389 100644 (file)
  */
 class BaseController extends BaseFrameworkSystem {
        /**
-        * Private constructor
+        * Protected constructor
         *
         * @return      void
         */
-       private function __construct () {
+       protected function __construct () {
                // 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]