You are here

public function PHPExcel_Shared_OLE::isRoot 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::isRoot()

* Checks whether a PPS is a Root 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 Root PPS, false otherwise

File

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

Class

PHPExcel_Shared_OLE
OLE package base class.

Code

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