You are here

public function PHPExcel_Writer_Excel2007_WriterPart::__construct in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007/WriterPart.php \PHPExcel_Writer_Excel2007_WriterPart::__construct()

* Set parent IWriter object * *

Parameters

PHPExcel_Writer_IWriter $pWriter: * @throws PHPExcel_Writer_Exception

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007/WriterPart.php, line 75

Class

PHPExcel_Writer_Excel2007_WriterPart
PHPExcel_Writer_Excel2007_WriterPart

Code

public function __construct(PHPExcel_Writer_IWriter $pWriter = null) {
  if (!is_null($pWriter)) {
    $this->_parentWriter = $pWriter;
  }
}