Workbook::&setTempDir

Workbook::&setTempDir -- Sets the temp dir used for storing the OLE file.

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

booleanWorkbook::&setTempDir (string $dir)

Description

Sets the temp dir used for storing the OLE file. Use this method if you don't have the right to write in the default temporary dir.

Parameter

Return value

boolean - TRUE if given dir is valid, FALSE otherwise

Note

This function can not be called statically.

Example