&$url_format, &$parser)
{
// It needs to call its parent's constructor explicitly
- $this->Spreadsheet_Excel_Writer_BIFFwriter();
+ parent::__construct();
$this->_BIFF_version = $BIFF_version;
$rowmax = 65536; // 16384 in Excel 5
$colmax = 256;
function __construct($filename)
{
// It needs to call its parent's constructor explicitly
- $this->Spreadsheet_Excel_Writer_BIFFwriter();
+ parent::__construct();
$this->_filename = $filename;
$this->_parser = new Spreadsheet_Excel_Writer_Parser($this->_byte_order, $this->_BIFF_version);
$this->filename = $filename.".xls";
$this->unique_name = random_id().".xls";
$this->path = company_path(). '/pdf_files';
- $this->Spreadsheet_Excel_Writer_Workbook($this->path."/".$this->unique_name);
+ parent::__construct($this->path."/".$this->unique_name);
if ($this->code != "iso-8859-1")
$this->setVersion(8); // set biff version to 8 (0x0006 internal)
$this->sheet = $this->addWorksheet($this->worksheetNameGenerator($this->title));