Prefix with "public" functions in Writer

This commit is contained in:
Alexey Kopytko 2016-06-16 12:01:18 +09:00
parent f1195b4a21
commit 8878394496
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class Spreadsheet_Excel_Writer extends Spreadsheet_Excel_Writer_Workbook
* @param string $filename The optional filename for the Workbook.
* @return Spreadsheet_Excel_Writer_Workbook The Workbook created
*/
function __construct($filename = '')
public function __construct($filename = '')
{
$this->_filename = $filename;
parent::__construct($filename);
@ -63,7 +63,7 @@ class Spreadsheet_Excel_Writer extends Spreadsheet_Excel_Writer_Workbook
* @param string $filename The filename to use for HTTP headers
* @access public
*/
function send($filename)
public function send($filename)
{
header("Content-type: application/vnd.ms-excel");
header("Content-Disposition: attachment; filename=\"$filename\"");