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 |
Set default | font |
Add some | data |
$dateTimeNow = time() | |
$objRichText = new PHPExcel_RichText() | |
$objPayable = $objRichText->createTextRun('你 好 吗?') | |
$objRichText2 = new PHPExcel_RichText() | |
$objRed = $objRichText2->createTextRun("red text") | |
Rename | worksheet |
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 |
Reload workbook from saved | file |
Peak memory | usage |
$callEndTime = microtime(true) |
Definition at line 154 of file 02types.php.
$callStartTime = microtime(true) |
Definition at line 150 of file 02types.php.
$callTime = $callEndTime - $callStartTime |
Definition at line 155 of file 02types.php.
$dateTimeNow = time() |
Definition at line 93 of file 02types.php.
$objPayable = $objRichText->createTextRun('你 好 吗?') |
Definition at line 115 of file 02types.php.
$objPHPExcel = new PHPExcel() |
Definition at line 42 of file 02types.php.
$objRed = $objRichText2->createTextRun("red text") |
Definition at line 129 of file 02types.php.
$objRichText = new PHPExcel_RichText() |
Definition at line 112 of file 02types.php.
$objRichText2 = new PHPExcel_RichText() |
Definition at line 126 of file 02types.php.
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007') |
Definition at line 152 of file 02types.php.
Add some data |
Definition at line 60 of file 02types.php.
getcwd () EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />' |
Definition at line 34 of file 02types.php.
Done testing file |
Definition at line 163 of file 02types.php.
Set default font |
Definition at line 55 of file 02types.php.
Write to Excel2007 format |
Definition at line 149 of file 02types.php.
Peak memory memory_get_peak_usage (true)/1024/1024) MB |
Definition at line 160 of file 02types.php.
Create new PHPExcel object |
Definition at line 37 of file 02types.php.
Set document properties |
Definition at line 45 of file 02types.php.
sprintf ('%.4f', $callTime) seconds |
Definition at line 158 of file 02types.php.
File written to |
Definition at line 157 of file 02types.php.
Peak memory usage |
Definition at line 179 of file 02types.php.
Rename worksheet |
Definition at line 140 of file 02types.php.