23 require_once
'PEAR.php';
24 require_once
'OLE.php';
133 $this->PrevPps = $prev;
134 $this->NextPps = $next;
135 $this->DirPps =
$dir;
136 $this->Time1st = $time_1st;
137 $this->Time2nd = $time_2nd;
138 $this->_data =
$data;
141 $this->Size = strlen(
$data);
155 if (!isset($this->_data)) {
158 if (isset($this->_PPS_FILE)) {
159 fseek($this->_PPS_FILE, 0);
160 $stats = fstat($this->_PPS_FILE);
163 return strlen($this->_data);
176 for ($i = 0; $i < (64 - strlen($this->Name)); $i++) {
179 $ret .= pack(
"v", strlen($this->Name) + 2)
180 . pack(
"c", $this->Type)
182 . pack(
"V", $this->PrevPps)
183 . pack(
"V", $this->NextPps)
184 . pack(
"V", $this->DirPps)
192 . pack(
"V", isset($this->_StartBlock)?
193 $this->_StartBlock:0)
194 . pack(
"V", $this->Size)
210 $pps_array[count($pps_array)] = &$this;
211 $this->No = count($pps_array) - 1;
212 $this->PrevPps = 0xFFFFFFFF;
213 $this->NextPps = 0xFFFFFFFF;
214 if (count($this->children) > 0) {
215 $this->DirPps = $this->children[0]->_savePpsSetPnt($pps_array);
217 $this->DirPps = 0xFFFFFFFF;