ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
30template.php File Reference

Go to the source code of this file.

Namespaces

 PHPExcel
 

Variables

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

Variable Documentation

◆ $baseRow

◆ $data

$data
Initial value:
= array(array('title' => 'Excel for dummies',
'price' => 17.99,
'quantity' => 2
),
array('title' => 'PHP for dummies',
'price' => 15.99,
'quantity' => 1
),
array('title' => 'Inside OOP',
'price' => 12.95,
'quantity' => 1
)
)
Create styles array
The data for the language used.

Definition at line 50 of file 30template.php.

◆ $objPHPExcel

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

Definition at line 44 of file 30template.php.

◆ $objReader

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

Definition at line 43 of file 30template.php.

◆ $objWriter

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

Definition at line 81 of file 30template.php.

◆ EOL

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

Definition at line 33 of file 30template.php.

◆ file

Done writing file

Definition at line 90 of file 30template.php.

◆ format

Write to Excel5 format

Definition at line 80 of file 30template.php.

◆ MB

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

Definition at line 87 of file 30template.php.

◆ template

◆ to

File written to

Definition at line 83 of file 30template.php.

◆ usage

Peak memory usage

Definition at line 87 of file 30template.php.