public function PHPExcel_Writer_OpenDocument::getPHPExcel in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/OpenDocument.php \PHPExcel_Writer_OpenDocument::getPHPExcel()
Get PHPExcel object
Return value
Throws
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ OpenDocument.php, line 179
Class
- PHPExcel_Writer_OpenDocument
- PHPExcel_Writer_OpenDocument
Code
public function getPHPExcel() {
if ($this->_spreadSheet !== null) {
return $this->_spreadSheet;
}
else {
throw new PHPExcel_Writer_Exception('No PHPExcel assigned.');
}
}