ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilExcelWriterWrapper.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once 'Services/PEAR/lib/Spreadsheet/Excel/Writer.php';
5
16{
17 function addWorksheet($name = '')
18 {
19 $worksheet = parent::addWorksheet($name);
20
21 // we need this to make utf8 work properly (in combination with version 8)
22 $worksheet->setInputEncoding("UTF-8");
23
24 return $worksheet;
25 }
26}
27
28?>
Class ilExcelWriterWrapper.
addWorksheet($name='')
Add a new worksheet to the Excel workbook.