ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
06largescale-with-cellcaching-sqlite.php File Reference

Go to the source code of this file.

Namespaces

namespace  PHPExcel
 

Variables

const EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />'
 
 $cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_sqlite
 Include PHPExcel. More...
 
if(PHPExcel_Settings::setCacheStorageMethod($cacheMethod)) else
 
 $objPHPExcel = new PHPExcel()
 
 $callStartTime = microtime(true)
 
 $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007')
 
 $callEndTime = microtime(true)
 
 $callTime = $callEndTime - $callStartTime
 
 sprintf ('%.4f', $callTime)
 
 memory_get_usage (true)/1024/1024)
 
 memory_get_peak_usage (true)/1024/1024)
 

Variable Documentation

◆ $cacheMethod

◆ $callEndTime

$callEndTime = microtime(true)

Definition at line 115 of file 06largescale-with-cellcaching-sqlite.php.

◆ $callStartTime

$callStartTime = microtime(true)

Definition at line 111 of file 06largescale-with-cellcaching-sqlite.php.

◆ $callTime

$callTime = $callEndTime - $callStartTime

Definition at line 116 of file 06largescale-with-cellcaching-sqlite.php.

◆ $objPHPExcel

$objPHPExcel = new PHPExcel()

Definition at line 50 of file 06largescale-with-cellcaching-sqlite.php.

◆ $objWriter

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

Definition at line 113 of file 06largescale-with-cellcaching-sqlite.php.

◆ else

Initial value:
{
echo date('H:i:s') , " Unable to set Cell Caching using " , $cacheMethod , " method, reverting to memory" , EOL
$cacheMethod
Include PHPExcel.
date( 'd-M-Y', $objPHPExcel->getProperties() ->getCreated())

Definition at line 43 of file 06largescale-with-cellcaching-sqlite.php.

◆ EOL

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

Definition at line 33 of file 06largescale-with-cellcaching-sqlite.php.

◆ memory_get_peak_usage

memory_get_peak_usage(true)/1024/1024) ( true  )

Definition at line 125 of file 06largescale-with-cellcaching-sqlite.php.

◆ memory_get_usage

memory_get_usage(true)/1024/1024) ( true  )

Definition at line 121 of file 06largescale-with-cellcaching-sqlite.php.

◆ sprintf

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

Definition at line 119 of file 06largescale-with-cellcaching-sqlite.php.