You are here

public function PHPExcel_Shared_OLE_PPS::_DataLen in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS.php \PHPExcel_Shared_OLE_PPS::_DataLen()

* Returns the amount of data saved for this PPS * * @access public *

Return value

integer The amount of data (in bytes)

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS.php, line 150

Class

PHPExcel_Shared_OLE_PPS
Class for creating PPS's for OLE containers

Code

public function _DataLen() {
  if (!isset($this->_data)) {
    return 0;
  }

  //if (isset($this->_PPS_FILE)) {

  //	fseek($this->_PPS_FILE, 0);
  //	$stats = fstat($this->_PPS_FILE);
  //	return $stats[7];

  //} else {
  return strlen($this->_data);

  //}
}