]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/ships/passenger/class_PassengerShip.php
More style convensions applied, interface updated
[shipsimu.git] / application / ship-simu / main / ships / passenger / class_PassengerShip.php
index a581c120713946b36a54c2c7cb148b5c8303cdd4..4e0dd198cc1b1207d54e44a0445a12fdcb532163 100644 (file)
@@ -28,14 +28,6 @@ class PassengerShip extends BaseShip implements ConstructableShip, LimitableObje
                // Eltern-Kontruktor aufrufen
                parent::__construct(__CLASS__);
 
-               // Debug message
-               if (((defined('DEBUG_SHIP')) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
-                       $this->getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.<br />\n",
-                               __CLASS__,
-                               __LINE__
-                       ));
-               }
-
                // Set description
                $this->setObjectDescription("Passagier-Schiff");
 
@@ -131,20 +123,17 @@ class PassengerShip extends BaseShip implements ConstructableShip, LimitableObje
        }
 
        /**
-        * Stub!
-        */
-       public function saveObjectToDatabase () {
-               $this->getDebugInstance()->output(sprintf("[%s:] Stub <strong>%s</strong> erreicht.",
-                       $this->__toString(),
-                       __FUNCTION__
-               ));
-       }
-
-       /**
-        * Limits this object with an ObjectLimits instance
+        * Reduces the volume of a processed object.
+        *
+        * @param               $limitInstance          An instance to ObjectLimits which holds
+        *                              attribute names that we want to include in the processing
+        *                              phase. Other attributes except $uniqueID and $realClass will
+        *                              be ignored and keept out.
+        * @return      void
         */
-       public function limitObject (ObjectLimits $limitInstance) {
-               ApplicationEntryPoint::app_die("".__METHOD__." reached! Stub!");
+       function limitObject (ObjectLimits $limitInstance) {
+               // Work in progress
+               $this->partialStub("Unfinished method called.");
        }
 }