ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
27imagesexcel5.php File Reference

Go to the source code of this file.

Namespaces

 PHPExcel
 

Variables

const EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />'
 
Load Excel2007 template file
 
 $objReader = PHPExcel_IOFactory::createReader('Excel5')
 
 $objPHPExcel = $objReader->load("templates/27template.xls")
 
Write to Excel5 format
 
 $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007')
 
File written to
 
Peak memory usage
 
Peak memory memory_get_peak_usage(true)/1024/1024) MB
 
Done writing files
 

Variable Documentation

◆ $objPHPExcel

$objPHPExcel = $objReader->load("templates/27template.xls")

Definition at line 44 of file 27imagesexcel5.php.

◆ $objReader

$objReader = PHPExcel_IOFactory::createReader('Excel5')

Definition at line 43 of file 27imagesexcel5.php.

◆ $objWriter

$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007')

Definition at line 48 of file 27imagesexcel5.php.

◆ EOL

getcwd () EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />'

Definition at line 33 of file 27imagesexcel5.php.

◆ file

Load Excel2007 template file

Definition at line 38 of file 27imagesexcel5.php.

◆ files

Done writing files

Definition at line 63 of file 27imagesexcel5.php.

◆ format

Write to Excel5 format

Definition at line 47 of file 27imagesexcel5.php.

◆ MB

Peak memory memory_get_peak_usage (true)/1024/1024) MB

Definition at line 60 of file 27imagesexcel5.php.

◆ to

File written to

Definition at line 50 of file 27imagesexcel5.php.

◆ usage

Peak memory usage

Definition at line 60 of file 27imagesexcel5.php.