ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
13calculation.php File Reference

Go to the source code of this file.

Namespaces

 PHPExcel
 

Variables

const EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />'
 
List implemented functions
 
 $objCalc = PHPExcel_Calculation::getInstance()
 
Create new PHPExcel object
 
 $objPHPExcel = new PHPExcel()
 
Add some data and formulas
 
Calculated data
 
 for ( $col='B';$col !='G';++ $col)
 
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 file
 

Variable Documentation

◆ $callEndTime

$callEndTime = microtime(true)

Definition at line 221 of file 13calculation.php.

◆ $callStartTime

$callStartTime = microtime(true)

Definition at line 208 of file 13calculation.php.

◆ $callTime

$callTime = $callEndTime - $callStartTime

Definition at line 222 of file 13calculation.php.

◆ $objCalc

Definition at line 45 of file 13calculation.php.

◆ $objPHPExcel

$objPHPExcel = new PHPExcel()

Definition at line 50 of file 13calculation.php.

◆ $objWriter

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

Definition at line 210 of file 13calculation.php.

◆ data

Calculated data

Definition at line 194 of file 13calculation.php.

◆ EOL

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

Definition at line 34 of file 13calculation.php.

◆ file

Done writing file

Definition at line 234 of file 13calculation.php.

◆ for

for($col='B'; $col !='G';++$col)

Definition at line 195 of file 13calculation.php.

◆ format

Write to Excel2007 format

Definition at line 195 of file 13calculation.php.

◆ formulas

Add some data and formulas

Definition at line 53 of file 13calculation.php.

◆ functions

◆ MB

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

Definition at line 227 of file 13calculation.php.

◆ object

Create new PHPExcel object

Definition at line 49 of file 13calculation.php.

◆ seconds

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

Definition at line 225 of file 13calculation.php.

◆ to

File written to

Definition at line 224 of file 13calculation.php.

◆ usage

Peak memory usage

Definition at line 231 of file 13calculation.php.