getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", __CLASS__, __LINE__ )); } // Set description $this->setPartDescr("Namenloser Antrieb"); // Clean up a little $this->removeNumberFormaters(); $this->removePartInstance(); } /** * Calls the private constructor * * @param $class The class' name * @return void */ public function constructor ($class) { $this->__construct($class); } // Setter-Methode fuert PS-Zahl public final function setHorsePower ($hp) { if ((defined('DEBUG_DRIVE')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Antriebsleistung wird auf %d PS gesetzt.
\n", __CLASS__, __LINE__, $hp )); $this->horsePower = (int) $hp; } // Setter-Methode fuer Nockenanzahl public final function setNumCams ($cams) { if ((defined('DEBUG_DRIVE')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Nockenanzahl wird auf %d Nocken gesetzt.
\n", __CLASS__, __LINE__, $cams )); $this->numCams = (int) $cams; } // Setter for price public final function setPrice ($price) { $this->price = (float) $price; } // Getter for price public final function getPrice () { return $this->price; } public function removePrice () { unset($this->price); } } // [EOF] ?>