ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
03formulas.php File Reference

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
 
Sum of both Ranges is
 
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
 
Peak memory usage
 
Done writing files
 

Variable Documentation

◆ $callEndTime

$callEndTime = microtime(true)

Definition at line 120 of file 03formulas.php.

◆ $callStartTime

$callStartTime = microtime(true)

Definition at line 107 of file 03formulas.php.

◆ $callTime

$callTime = $callEndTime - $callStartTime

Definition at line 121 of file 03formulas.php.

◆ $objPHPExcel

$objPHPExcel = new PHPExcel()

Definition at line 42 of file 03formulas.php.

◆ $objWriter

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

Definition at line 109 of file 03formulas.php.

◆ data

Add some data

Definition at line 56 of file 03formulas.php.

◆ EOL

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

Definition at line 34 of file 03formulas.php.

◆ files

Done writing files

Definition at line 148 of file 03formulas.php.

◆ format

Write to Excel5 format

Definition at line 106 of file 03formulas.php.

◆ is

Average value of both Ranges is

Definition at line 77 of file 03formulas.php.

◆ MB

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

Definition at line 126 of file 03formulas.php.

◆ object

Create new PHPExcel object

Definition at line 37 of file 03formulas.php.

◆ properties

Set document properties

Definition at line 45 of file 03formulas.php.

◆ seconds

sprintf ('%.4f', $callTime) seconds

Definition at line 124 of file 03formulas.php.

◆ to

File written to

Definition at line 123 of file 03formulas.php.

◆ usage

Peak memory usage

Definition at line 145 of file 03formulas.php.

◆ worksheet

Rename worksheet

Definition at line 97 of file 03formulas.php.