You are here

public function PHPExcel_Shared_OLE::getDataLength in Loft Data Grids 6.2

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

* Gets the data length from a PPS * If there is no PPS for the index given, it will return 0. * * @access public *

Parameters

integer $index The index for the PPS: * @return integer The amount of bytes in data the PPS has

File

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

Class

PHPExcel_Shared_OLE
OLE package base class.

Code

public function getDataLength($index) {
  if (isset($this->_list[$index])) {
    return $this->_list[$index]->Size;
  }
  return 0;
}