You are here

public function PHPExcel_Writer_OpenDocument::setPHPExcel in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/OpenDocument.php \PHPExcel_Writer_OpenDocument::setPHPExcel()

Set PHPExcel object

Parameters

PHPExcel $pPHPExcel PHPExcel object:

Return value

PHPExcel_Writer_Excel2007

Throws

PHPExcel_Writer_Exception

1 call to PHPExcel_Writer_OpenDocument::setPHPExcel()
PHPExcel_Writer_OpenDocument::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/OpenDocument.php
Create a new PHPExcel_Writer_OpenDocument

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/OpenDocument.php, line 195

Class

PHPExcel_Writer_OpenDocument
PHPExcel_Writer_OpenDocument

Code

public function setPHPExcel(PHPExcel $pPHPExcel = null) {
  $this->_spreadSheet = $pPHPExcel;
  return $this;
}