You are here

public function PHPExcel_Shared_OLE_PPS::__construct 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::__construct()

* The constructor * * @access public *

Parameters

integer $No The PPS index: * @param string $name The PPS name * @param integer $type The PPS type. Dir, Root or File * @param integer $prev The index of the previous PPS * @param integer $next The index of the next PPS * @param integer $dir The index of it's first child if this is a Dir or Root PPS * @param integer $time_1st A timestamp * @param integer $time_2nd A timestamp * @param string $data The (usually binary) source data of the PPS * @param array $children Array containing children PPS for this PPS

2 calls to PHPExcel_Shared_OLE_PPS::__construct()
PHPExcel_Shared_OLE_PPS_File::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/File.php
* The constructor * * @access public *
PHPExcel_Shared_OLE_PPS_Root::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php
*
2 methods override PHPExcel_Shared_OLE_PPS::__construct()
PHPExcel_Shared_OLE_PPS_File::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/File.php
* The constructor * * @access public *
PHPExcel_Shared_OLE_PPS_Root::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php
*

File

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

Class

PHPExcel_Shared_OLE_PPS
Class for creating PPS's for OLE containers

Code

public function __construct($No, $name, $type, $prev, $next, $dir, $time_1st, $time_2nd, $data, $children) {
  $this->No = $No;
  $this->Name = $name;
  $this->Type = $type;
  $this->PrevPps = $prev;
  $this->NextPps = $next;
  $this->DirPps = $dir;
  $this->Time1st = $time_1st;
  $this->Time2nd = $time_2nd;
  $this->_data = $data;
  $this->children = $children;
  if ($data != '') {
    $this->Size = strlen($data);
  }
  else {
    $this->Size = 0;
  }
}