X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fpersonell%2Fclass_SimulatorPersonell.php;h=8ff01e74d4c4d875da0fa71c953e86e1ab63a239;hp=e6236f9571129ee9dd0a121fc4fcd7e3da962d3d;hb=4f70843ae8428f051d70ccff5bb43fc4c03dda8d;hpb=2b7c3e43b2fe0f3c5ae0455d13fa7743b638049f diff --git a/application/ship-simu/main/personell/class_SimulatorPersonell.php b/application/ship-simu/main/personell/class_SimulatorPersonell.php index e6236f9..8ff01e7 100644 --- a/application/ship-simu/main/personell/class_SimulatorPersonell.php +++ b/application/ship-simu/main/personell/class_SimulatorPersonell.php @@ -2,11 +2,11 @@ /** * The general simulator personell class * - * @author Roland Haeder + * @author Roland Haeder * @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);