You are here

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

* It checks whether the PPS tree is complete (all PPS's read) * starting with the given PPS (not necessarily root) * * @access public *

Parameters

integer $index The index of the PPS from which we are checking: * @return boolean Whether the PPS tree for the given PPS is complete

1 call to PHPExcel_Shared_OLE::_ppsTreeComplete()
PHPExcel_Shared_OLE::_readPpsWks in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE.php
* Gets information about all PPS's on the OLE container from the PPS WK's * creates an OLE_PPS object for each one. * * @access public *

File

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

Class

PHPExcel_Shared_OLE
OLE package base class.

Code

public function _ppsTreeComplete($index) {
  return isset($this->_list[$index]) && ($pps = $this->_list[$index]) && ($pps->PrevPps == -1 || $this
    ->_ppsTreeComplete($pps->PrevPps)) && ($pps->NextPps == -1 || $this
    ->_ppsTreeComplete($pps->NextPps)) && ($pps->DirPps == -1 || $this
    ->_ppsTreeComplete($pps->DirPps));
}