ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
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 
4 include_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 ?>