ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
21pdf.php File Reference

Go to the source code of this file.

Namespaces

 PHPExcel
 

Variables

const EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />'
 
 $rendererName = PHPExcel_Settings::PDF_RENDERER_DOMPDF
 PHPExcel_IOFactory. More...
 
 $rendererLibrary = 'domPDF0.6.0beta3'
 
 $rendererLibraryPath = '/php/libraries/PDF/' . $rendererLibrary
 
Hide grid lines
 
Set orientation to landscape
 
if(!PHPExcel_Settings::setPdfRenderer($rendererName, $rendererLibraryPath)) $callStartTime = microtime(true)
 
 $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'PDF')
 
 $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 files
 

Variable Documentation

◆ $callEndTime

$callEndTime = microtime(true)

Definition at line 81 of file 21pdf.php.

◆ $callStartTime

if (!PHPExcel_Settings::setPdfRenderer( $rendererName, $rendererLibraryPath)) $callStartTime = microtime(true)

Definition at line 76 of file 21pdf.php.

◆ $callTime

$callTime = $callEndTime - $callStartTime

Definition at line 82 of file 21pdf.php.

◆ $objWriter

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

Definition at line 78 of file 21pdf.php.

◆ $rendererLibrary

$rendererLibrary = 'domPDF0.6.0beta3'

Definition at line 51 of file 21pdf.php.

◆ $rendererLibraryPath

$rendererLibraryPath = '/php/libraries/PDF/' . $rendererLibrary

Definition at line 52 of file 21pdf.php.

◆ $rendererName

PHPExcel_IOFactory.

Definition at line 48 of file 21pdf.php.

◆ EOL

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

Definition at line 34 of file 21pdf.php.

◆ files

Done writing files

Definition at line 93 of file 21pdf.php.

◆ landscape

Set orientation to landscape

Definition at line 58 of file 21pdf.php.

◆ lines

◆ MB

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

Definition at line 86 of file 21pdf.php.

◆ seconds

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

Definition at line 84 of file 21pdf.php.

◆ to

File written to

Definition at line 83 of file 21pdf.php.

◆ usage

Peak memory usage

Definition at line 90 of file 21pdf.php.