Home » File Formats » Spreadsheet_Excel_Writer » Bug #1464
Documentation setTempDir belongs to workbook
Details
| Submitted | 2004-05-21 19:28 UTC |
|---|---|
| From | until-june-04 at daniu dot de |
| Assigned | xnoguer |
| Status | Closed |
| Package | Spreadsheet_Excel_Writer |
| PHP Version | Irrelevant |
| OS | irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-05-21 19:28 UTC] until-june-04 at daniu dot de
Description:
------------
The documentation has a mistake:
http://pear.php.net/manual/en/package.fileformats.spreadsheet-excel-writer.spreadsheet-excel-writer-workbook.settempdir.php
on top it says that setTempDir belongs to workbook but in the example it is used as method of worksheet.
$worksheet =& $workbook->addWorksheet('My first worksheet');
$worksheet->setTempDir('/home/xnoguer/temp');
$worksheet->write(0, 0, "did this work?");
probably it should be:
$workbook->setTempDir('/home/xnoguer/temp');
$worksheet =& $workbook->addWorksheet('My first worksheet');
$worksheet->write(0, 0, "did this work?");
[2004-06-22 23:56 UTC] xnoguer at php dot net
This bug has been fixed in CVS.nnIn case this was a documentation problem, the fix will show up at thenend of next Sunday (CET) on pear.php.net.nnIn case this was a pear.php.net website problem, the change will shownup on the website in short time.n nThank you for the report, and for helping us make PEAR better.