- $cabType = $cab->getPartDescr();
- }
-
- // Debug-Meldung ausgeben
- $this->getDebugInstance()->output(sprintf("[%s:%d] Es stehen <strong>%d</strong> Betten vom Kabinen-Typ <strong>%s</strong> bereit.<br />\n",
- __CLASS__,
- __LINE__,
- $total,
- $cabType
- ));
- }
- } else {
- // Keine Kabine!
- if ((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] <strong>%s</strong> ist keine Kabine.<br />\n",
- __CLASS__,
- __LINE__,
- $el->getPartDescr()
- ));
- }
- }
-
- if ((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Das <strong>%s</strong> mit dem Namen <strong>%s</strong> hat <strong>%d</strong> Betten.<br />\n",
- __CLASS__,
- __LINE__,
- $this->getPartDescr(),
- $this->getShipName(),
- $numBeds
- ));