X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fstructures%2Fextended%2Fclass_BaseCabinStructure.php;h=d0c0aaa8b0326484e08bf4df7e0ff028db2eeace;hp=5629ca4648182b89bd9d5c14fd6750cc9a044ed2;hb=efba981c9bf18c733dfde945b09111ff4b6007ce;hpb=b3e47fb693fb8d40868158b0192b3392b309d97a diff --git a/application/ship-simu/main/structures/extended/class_BaseCabinStructure.php b/application/ship-simu/main/structures/extended/class_BaseCabinStructure.php index 5629ca4..d0c0aaa 100644 --- a/application/ship-simu/main/structures/extended/class_BaseCabinStructure.php +++ b/application/ship-simu/main/structures/extended/class_BaseCabinStructure.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, this is free software * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -43,7 +43,7 @@ class BaseCabinStructure extends BaseStructure { // Kabine hinzufuegen public function addShipPartToShip (ConstructableShip $shipInstance, ConstructableShipPart $cabinInstance) { - if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Die Kabine %s wird für das Schiff %s konstruiert.", + if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) $this->debugOutput(sprintf("[%s:%d] Die Kabine %s wird für das Schiff %s konstruiert.", __CLASS__, __LINE__, $cabinInstance->getObjectDescription(), @@ -67,7 +67,7 @@ class BaseCabinStructure extends BaseStructure { $this->setDeckInstance($cabinInstance); // Einbaut-Meldung ausgeben - if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Die Kabine %s wurde in das Schiff eingebaut.", + if ((defined('DEBUG_STRUCTURE')) || (defined('DEBUG_ALL'))) $this->debugOutput(sprintf("[%s:%d] Die Kabine %s wurde in das Schiff eingebaut.", __CLASS__, __LINE__, $cabinInstance->getObjectDescription(), @@ -136,7 +136,7 @@ class BaseCabinStructure extends BaseStructure { } // Debug-Meldung ausgeben - $this->getDebugInstance()->output(sprintf("[%s:%d] Es exisitieren %d Kabinen vom Typ %s zu je %d Betten. Das sind %d Betten.", + $this->debugOutput(sprintf("[%s:%d] Es exisitieren %d Kabinen vom Typ %s zu je %d Betten. Das sind %d Betten.", __CLASS__, __LINE__, $num,