getDebugInstance()->output(sprintf("[%s:%d] Konstruktor erreicht.
\n", __CLASS__, __LINE__ )); } // Set description $this->setPartDescr("Namenloser Antrieb"); // Etwas aufraeumen $this->removeNumberFormaters(); $this->removePartInstance(); } // Konstruktor aufrufen public function constructor ($class) { $this->__construct($class); } // Setter-Methode fuert PS-Zahl public 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 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 function setPrice ($price) { $this->price = (float) $price; } // Getter for price public function getPrice () { return $this->price; } public function removePrice () { unset($this->price); } } // [EOF] ?>