// Get new instance
$motorInstance = new Motor();
- // Debug message
- if ((defined('DEBUG_DRIVE')) || (defined('DEBUG_ALL'))) $motorInstance->getDebugInstance()->output(sprintf("[%s:%d] Motor <strong>%s</strong> wird gebaut...",
- __CLASS__,
- __LINE__,
- $descr
- ));
-
// Beschreibung und Abmasse setzen
$motorInstance->setObjectDescription($descr);
$motorInstance->setWidth($w);