*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
protected function __construct () {
// Call parent constructor!
parent::__construct(__CLASS__);
-
- // Set description
- $this->setObjectDescription("Komprimierungshandler");
-
- // Create an unique ID
- $this->generateUniqueId();
}
/**
// Get the compressor's name. That's why you must name
// your files like your classes and also that's why you
// must keep on class in one file.
- $class = substr($dir, 6, -4);
+ $className = substr($dir, 6, -4);
// Get an instance from our object factory
- $tempInstance = ObjectFactory::createObjectByName($class);
+ $tempInstance = ObjectFactory::createObjectByName($className);
// Set the compressor
$cInstance->setCompressor($tempInstance);