You are here

public function PHPExcel_Writer_Excel2007::getWriterPart in Loft Data Grids 7.2

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

* Get writer part * *

Parameters

string $pPartName Writer part name: * @return PHPExcel_Writer_Excel2007_WriterPart

File

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

Class

PHPExcel_Writer_Excel2007
PHPExcel_Writer_Excel2007

Code

public function getWriterPart($pPartName = '') {
  if ($pPartName != '' && isset($this->_writerParts[strtolower($pPartName)])) {
    return $this->_writerParts[strtolower($pPartName)];
  }
  else {
    return null;
  }
}