You are here

public function PHPExcel_Shared_OLE::isFile in Loft Data Grids 7.2

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

* Checks whether a PPS is a File PPS or not. * If there is no PPS for the index given, it will return false. * * @access public *

Parameters

integer $index The index for the PPS: * @return bool true if it's a File PPS, false otherwise

File

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

Class

PHPExcel_Shared_OLE
OLE package base class.

Code

public function isFile($index) {
  if (isset($this->_list[$index])) {
    return $this->_list[$index]->Type == self::OLE_PPS_TYPE_FILE;
  }
  return false;
}