previousSpreadsheet_Excel_Writer::
Spreadsheet_Excel_Writer
(Previous)
(Next) Spreadsheet_Excel_Writer::rowcolToCellnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Spreadsheet_Excel_Writer::send

Spreadsheet_Excel_Writer::send – Send HTTP headers for the Excel file.

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Spreadsheet_Excel_Writer::send ( string $filename )

Description

Send HTTP headers with the correct content-type (application/vnd.ms-excel), cache control and filename for the file.

Parameter

  • string $filename - The filename to use for HTTP headers

Note

This function can be called statically, but it is easiest when called from the workbook object.

Example

Using send()

<?php
$workbook
->send('filename.xls');
?>
previousSpreadsheet_Excel_Writer::
Spreadsheet_Excel_Writer
(Previous)
(Next) Spreadsheet_Excel_Writer::rowcolToCellnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.