2 // Die Liegeplatz-Klasse
3 class Berth extends BaseConstruction {
4 // Durchlaufende Nummer der Liegeplaetze
5 private $berthIndex = 0;
8 private $harborInstance = null;
11 private function __construct () {
12 if (((defined('DEBUG_MODE')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
13 $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
19 // Eltern-Konstruktor aufrufen
20 parent::constructor(__CLASS__);
22 // Beschreibung setzen
23 $this->setPartDescr("Liegeplatz");
26 $this->createUniqueID();
32 public function saveObjectToDatabase () {
33 $this->getDebugInstance()->output(sprintf("[%s:] Stub <strong>%s</strong> erreicht.",
40 * Limits this object with an ObjectLimits instance
42 public function limitObject (ObjectLimits $limitInstance) {
43 ApplicationEntryPoint::app_die("".__METHOD__." reached! Stub!");