ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
28iterator.php File Reference

Go to the source code of this file.

Namespaces

 PHPExcel
 

Variables

const EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />'
 
 if (!file_exists("05featuredemo.xlsx"))
 PHPExcel_IOFactory. More...
 
Load from Excel2007 file
 
 $objReader = PHPExcel_IOFactory::createReader('Excel2007')
 
 $objPHPExcel = $objReader->load("05featuredemo.xlsx")
 
Iterate worksheets
 
 foreach ( $objPHPExcel->getWorksheetIterator() as $worksheet)
 
Peak memory usage
 
Peak memory memory_get_peak_usage(true)/1024/1024) MB
 

Variable Documentation

◆ $objPHPExcel

$objPHPExcel = $objReader->load("05featuredemo.xlsx")

Definition at line 47 of file 28iterator.php.

◆ $objReader

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

Definition at line 46 of file 28iterator.php.

◆ EOL

Peak memory memory_get_peak_usage (true)/1024/1024) EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />'

Definition at line 33 of file 28iterator.php.

◆ file

Load from Excel2007 file

Definition at line 41 of file 28iterator.php.

◆ foreach

foreach($objPHPExcel->getWorksheetIterator() as $worksheet)

Definition at line 50 of file 28iterator.php.

◆ if

if(!file_exists("05featuredemo.xlsx"))

PHPExcel_IOFactory.

Definition at line 41 of file 28iterator.php.

◆ MB

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

Definition at line 68 of file 28iterator.php.

◆ usage

Peak memory usage

Definition at line 50 of file 28iterator.php.

◆ worksheets

Iterate worksheets

Definition at line 49 of file 28iterator.php.