/**
* 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
$this->removePersonellList();
$this->removeMinMaxAge();
$this->removeCache();
- $this->removeSystemArray();
}
/**
* @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;
$personellInstance->removeSalary();
$personellInstance->removeEmployed();
$personellInstance->removeMarried();
- $personellInstance->removeNumberFormaters();
//$personellInstance->removeCache();
- $personellInstance->removeSystemArray();
// Instanz zurueckgeben
return $personellInstance;
* @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();
$personellInstance->removePersonellList();
$personellInstance->removeMinMaxAge();
$personellInstance->removeCache();
- $personellInstance->removeSystemArray();
// Add new member to the list
$this->personellList->append($personellInstance);