public function PHPExcel_Shared_XMLWriter::getData in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/XMLWriter.php \PHPExcel_Shared_XMLWriter::getData()
* Get written data * *
Return value
$data
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ XMLWriter.php, line 100
Class
- PHPExcel_Shared_XMLWriter
- PHPExcel_Shared_XMLWriter
Code
public function getData() {
if ($this->_tempFileName == '') {
return $this
->outputMemory(true);
}
else {
$this
->flush();
return file_get_contents($this->_tempFileName);
}
}