]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/personell/class_SimulatorPersonell.php
More renamed
[shipsimu.git] / application / ship-simu / main / personell / class_SimulatorPersonell.php
index e6236f9571129ee9dd0a121fc4fcd7e3da962d3d..8ff01e74d4c4d875da0fa71c953e86e1ab63a239 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * The general simulator personell class
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.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
@@ -54,7 +54,6 @@ class SimulatorPersonell extends BasePersonell {
                $this->removePersonellList();
                $this->removeMinMaxAge();
                $this->removeCache();
-               $this->removeSystemArray();
        }
 
        /**
@@ -65,7 +64,7 @@ class SimulatorPersonell extends BasePersonell {
         * @return      $personellInstance              An instance of this object with a
         *                                                              list of personells
         */
-       public final static function createSimulatorPersonell ($amountPersonell) {
+       public static final function createSimulatorPersonell ($amountPersonell) {
                // Make sure only integer can pass
                $amountPersonell = (int) $amountPersonell;
 
@@ -101,9 +100,7 @@ class SimulatorPersonell extends BasePersonell {
                $personellInstance->removeSalary();
                $personellInstance->removeEmployed();
                $personellInstance->removeMarried();
-               $personellInstance->removeNumberFormaters();
                //$personellInstance->removeCache();
-               $personellInstance->removeSystemArray();
 
                // Instanz zurueckgeben
                return $personellInstance;
@@ -120,7 +117,7 @@ class SimulatorPersonell extends BasePersonell {
         * @throws      MissingSimulatorIdException             If an ID number was not found
         * @deprecated
         */
-       public final static function createSimulatorPersonellByID ($idNumber) {
+       public static final function createSimulatorPersonellByID ($idNumber) {
                // Get instance
                $personellInstance = new SimulatorPersonell(false);
                $personellInstance->makeDeprecated();
@@ -164,7 +161,6 @@ class SimulatorPersonell extends BasePersonell {
                $personellInstance->removePersonellList();
                $personellInstance->removeMinMaxAge();
                $personellInstance->removeCache();
-               $personellInstance->removeSystemArray();
 
                // Add new member to the list
                $this->personellList->append($personellInstance);