ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Go to the source code of this file.
Namespaces | |
PHPExcel | |
Variables | |
const | EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />' |
Create new PHPExcel | object |
$objPHPExcel = new PHPExcel() | |
Set document | properties |
Add some | data |
Rename | worksheet |
$clonedSheet = clone $objPHPExcel->getActiveSheet() | |
Write to Excel2007 | format |
$callStartTime = microtime(true) | |
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007') | |
$callEndTime = microtime(true) | |
$callTime = $callEndTime - $callStartTime | |
File written | to |
sprintf('%.4f', $callTime) | seconds |
memory_get_usage(true)/1024/1024) | MB |
Peak memory | usage |
Done writing | files |
$callEndTime = microtime(true) |
Definition at line 104 of file 38cloneWorksheet.php.
$callStartTime = microtime(true) |
Definition at line 100 of file 38cloneWorksheet.php.
$callTime = $callEndTime - $callStartTime |
Definition at line 105 of file 38cloneWorksheet.php.
$clonedSheet = clone $objPHPExcel->getActiveSheet() |
Definition at line 81 of file 38cloneWorksheet.php.
$objPHPExcel = new PHPExcel() |
Definition at line 42 of file 38cloneWorksheet.php.
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007') |
Definition at line 102 of file 38cloneWorksheet.php.
Add some data |
Definition at line 56 of file 38cloneWorksheet.php.
getcwd () EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />' |
Definition at line 34 of file 38cloneWorksheet.php.
Done writing files |
Definition at line 117 of file 38cloneWorksheet.php.
Write to Excel2007 format |
Definition at line 99 of file 38cloneWorksheet.php.
Peak memory memory_get_peak_usage (true)/1024/1024) MB |
Definition at line 110 of file 38cloneWorksheet.php.
Create new PHPExcel object |
Definition at line 37 of file 38cloneWorksheet.php.
Set document properties |
Definition at line 45 of file 38cloneWorksheet.php.
sprintf ('%.4f', $callTime) seconds |
Definition at line 108 of file 38cloneWorksheet.php.
File written to |
Definition at line 107 of file 38cloneWorksheet.php.
Peak memory usage |
Definition at line 114 of file 38cloneWorksheet.php.
Rename cloned worksheet |
Definition at line 75 of file 38cloneWorksheet.php.