Method constructor() removed, several small fixes
[shipsimu.git] / application / ship-simu / main / personell / class_SimulatorPersonell.php
index 1d148ddb69d85809946e214177370e006cf6ea8a..d5aa01e4c26329227d7df4d3b5485370b92b0191 100644 (file)
@@ -19,7 +19,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class SimulatorPersonell extends BasePersonell {
        // Personell list
@@ -32,20 +32,20 @@ class SimulatorPersonell extends BasePersonell {
        private $cacheCond = null;
 
        /**
-        * Private constructor
+        * Protected constructor
         *
         * @return      void
         */
-       private function __construct () {
+       protected function __construct () {
                // Call parent constructor
-               parent::constructor(__CLASS__);
+               parent::__construct(__CLASS__);
 
                if (((defined('DEBUG_PERSONELL')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output(sprintf("[%s:] Konstruktor erreicht.<br />\n",
                        $this->__toString()
                ));
 
                // Set description
-               $this->setPartDescr("Simulationspersonal");
+               $this->setObjectDescription("Simulationspersonal");
 
                // Create unique ID
                $this->createUniqueID();