OLE
[ class tree: OLE ] [ index: OLE ] [ all elements ]

Class: OLE_PPS_Root

Source Location: /OLE-1.0.0RC2/OLE/PPS/Root.php

Class Overview

PEAR
   |
   --OLE_PPS
      |
      --OLE_PPS_Root

Class for creating Root PPS's for OLE containers


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: OLE_PPS

OLE_PPS::OLE_PPS()
The constructor

Class Details

[line 33]
Class for creating Root PPS's for OLE containers


[ Top ]


Class Variables

$new_func =  true

[line 39]

Flag to enable new logic

Type:   bool


[ Top ]



Method Detail

OLE_PPS_Root (Constructor)   [line 54]

OLE_PPS_Root OLE_PPS_Root( integer $time_1st, integer $time_2nd, $raChild)

Constructor
  • Access: public

Parameters:

integer   $time_1st   —  A timestamp
integer   $time_2nd   —  A timestamp
   $raChild   — 

[ Top ]

dump   [line 708]

void dump( string $data, integer $from, integer $to)

Support method for some hexdumping
  • Access: public

Parameters:

string   $data   —  - Binary data
integer   $from   —  - Start offset of data to dump
integer   $to   —  - Target offset of data to dump

[ Top ]

get_number_of_pointer_blocks   [line 693]

void get_number_of_pointer_blocks( integer $num_pointers)

Calculates number of pointer blocks
  • Access: public

Parameters:

integer   $num_pointers   —  - number of pointers

[ Top ]

save   [line 95]

mixed save( string $filename)

Method for saving the whole OLE container (including files).

In fact, if called with an empty argument (or '-'), it saves to a temporary file and then outputs it's contents to stdout.

  • Return: true on success, PEAR_Error on failure
  • Access: public

Parameters:

string   $filename   —  The name of the file where to save the OLE container

[ Top ]

setTempDir   [line 77]

true setTempDir( string $dir)

Sets the temp dir used for storing the OLE file
  • Return: if given dir is valid, false otherwise
  • Access: public

Parameters:

string   $dir   —  The dir to be used as temp dir

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:47:11 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.