ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
23sharedstyles.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
 
 $sharedStyle1 = new PHPExcel_Style()
 
 $sharedStyle2 = new PHPExcel_Style()
 
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 95 of file 23sharedstyles.php.

◆ $callStartTime

$callStartTime = microtime(true)

Definition at line 91 of file 23sharedstyles.php.

◆ $callTime

$callTime = $callEndTime - $callStartTime

Definition at line 96 of file 23sharedstyles.php.

◆ $objPHPExcel

$objPHPExcel = new PHPExcel()

Definition at line 44 of file 23sharedstyles.php.

◆ $objWriter

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

Definition at line 93 of file 23sharedstyles.php.

◆ $sharedStyle1

$sharedStyle1 = new PHPExcel_Style()

Definition at line 61 of file 23sharedstyles.php.

◆ $sharedStyle2

$sharedStyle2 = new PHPExcel_Style()

Definition at line 62 of file 23sharedstyles.php.

◆ data

Add some data

Definition at line 58 of file 23sharedstyles.php.

◆ EOL

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

Definition at line 34 of file 23sharedstyles.php.

◆ file

Done writing file

Definition at line 123 of file 23sharedstyles.php.

◆ format

Write to Excel5 format

Definition at line 90 of file 23sharedstyles.php.

◆ MB

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

Definition at line 101 of file 23sharedstyles.php.

◆ object

Create new PHPExcel object

Definition at line 39 of file 23sharedstyles.php.

◆ properties

Set document properties

Definition at line 47 of file 23sharedstyles.php.

◆ seconds

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

Definition at line 99 of file 23sharedstyles.php.

◆ to

File written to

Definition at line 98 of file 23sharedstyles.php.

◆ usage

Peak memory usage

Definition at line 120 of file 23sharedstyles.php.