X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fpersonell%2Fclass_SimulatorPersonell.php;h=ba7883f7264edc55b4991d4acefbee0070c50455;hb=b3d612dc053c999af135677df431f73d9d26154f;hp=21fab3f206a18df4c2b473637aa52fac93538041;hpb=cb9f9b9c5859160ac8de5908f15f28a5957dcc9c;p=shipsimu.git diff --git a/application/ship-simu/main/personell/class_SimulatorPersonell.php b/application/ship-simu/main/personell/class_SimulatorPersonell.php index 21fab3f..ba7883f 100644 --- a/application/ship-simu/main/personell/class_SimulatorPersonell.php +++ b/application/ship-simu/main/personell/class_SimulatorPersonell.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software + * @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 * @@ -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);