You are here

function PHPExcel_Writer_Excel5_Worksheet::getData in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Worksheet.php \PHPExcel_Writer_Excel5_Worksheet::getData()

* Retrieves data from memory in one chunk, or from disk in $buffer * sized chunks. * *

Return value

string The data

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Worksheet.php, line 589

Class

PHPExcel_Writer_Excel5_Worksheet
PHPExcel_Writer_Excel5_Worksheet

Code

function getData() {
  $buffer = 4096;

  // Return data stored in memory
  if (isset($this->_data)) {
    $tmp = $this->_data;
    unset($this->_data);
    return $tmp;
  }

  // No data to return
  return false;
}