class archive
{
- function archive($name)
+ function __construct($name)
{
$this->options = array (
'basedir' => ".",
class tar_file extends archive
{
- function tar_file($name)
+ function __construct($name)
{
- $this->archive($name);
+ parent::__construct($name);
$this->options['type'] = "tar";
}
class gzip_file extends tar_file
{
- function gzip_file($name)
+ function __construct($name)
{
- $this->tar_file($name);
+ parent::__construct($name);
$this->options['type'] = "gzip";
}
}
}
-?>
\ No newline at end of file