コード例 #1
0
 /**
 * The constructor. It just creates a Workbook
 *
 * @param string $filename The optional filename for the Workbook.
 * @return Spreadsheet_Excel_Writer_Workbook The Workbook created
 */
 function __construct($filename = '')
 {
     $this->_filename = $filename;
     parent::__construct($filename);
 }
コード例 #2
0
 /**
  * The constructor. It just creates a Workbook
  *
  * @param string $fileName The optional filename for the Workbook.
  */
 public function __construct($fileName = '')
 {
     $this->fileName = $fileName;
     parent::__construct($fileName);
 }