You are here

public function PHPExcel_Writer_Excel2007_WriterPart::getParentWriter in Loft Data Grids 6.2

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

* Get parent IWriter object * *

Return value

PHPExcel_Writer_IWriter * @throws PHPExcel_Writer_Exception

File

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

Class

PHPExcel_Writer_Excel2007_WriterPart
PHPExcel_Writer_Excel2007_WriterPart

Code

public function getParentWriter() {
  if (!is_null($this->_parentWriter)) {
    return $this->_parentWriter;
  }
  else {
    throw new PHPExcel_Writer_Exception("No parent PHPExcel_Writer_IWriter assigned.");
  }
}