public function PHPExcel_Writer_OpenDocument::__construct in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/OpenDocument.php \PHPExcel_Writer_OpenDocument::__construct()
Create a new PHPExcel_Writer_OpenDocument
Parameters
PHPExcel $pPHPExcel:
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ OpenDocument.php, line 59
Class
- PHPExcel_Writer_OpenDocument
- PHPExcel_Writer_OpenDocument
Code
public function __construct(PHPExcel $pPHPExcel = null) {
$this
->setPHPExcel($pPHPExcel);
$writerPartsArray = array(
'content' => 'PHPExcel_Writer_OpenDocument_Content',
'meta' => 'PHPExcel_Writer_OpenDocument_Meta',
'meta_inf' => 'PHPExcel_Writer_OpenDocument_MetaInf',
'mimetype' => 'PHPExcel_Writer_OpenDocument_Mimetype',
'settings' => 'PHPExcel_Writer_OpenDocument_Settings',
'styles' => 'PHPExcel_Writer_OpenDocument_Styles',
'thumbnails' => 'PHPExcel_Writer_OpenDocument_Thumbnails',
);
foreach ($writerPartsArray as $writer => $class) {
$this->_writerParts[$writer] = new $class($this);
}
}