3 class BaseCabin extends BaseCabinStructure {
5 private function __construct ($class) {
6 // Call parent constructor
7 parent::constructor($class);
10 if (((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
11 $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
18 $this->setPartDescr("Kabine");
20 // Maybe clean up a little
21 if ($class == __CLASS__) {
22 $this->removeSystemArray();
26 // Konstruktor aufrufen
27 public function constructor ($class) {
28 $this->__construct($class);
31 // Allgemeine Kabine erstellen
32 public static function createBaseCabin () {
34 $cabinInstance = new BaseCabin(__CLASS__);
37 if ((defined('DEBUG_CABIN')) || (defined('DEBUG_ALL'))) $cabinInstance->getDebugInstance()->output(sprintf("[%s:%d] Eine allgemeine Kabine wird erstellt.<br />\n",
42 // Generate unique ID number
43 $cabinInstance->createUniqueID();
45 // Instanz zurueckgeben
46 return $cabinInstance;
50 public function isCabin () {
51 return ($this->isClass("BaseCabin"));
57 public function saveObjectToDatabase () {
58 $this->getDebugInstance()->output(sprintf("[%s:] Stub <strong>%s</strong> erreicht.",
65 * Limits this object with an ObjectLimits instance
67 public function limitObject (ObjectLimits $limitInstance) {
68 ApplicationEntryPoint::app_die("".__METHOD__." reached! Stub!");