[ Index ]

PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09)

title

Body

[close]

/include/inc_ext/PEAR/OLE/PPS/ -> Root.php (summary)

(no description)

File Size: 519 lines (18 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

OLE_PPS_Root:: (10 methods):
  OLE_PPS_Root()
  setTempDir()
  save()
  _calcSize()
  _adjust2()
  _saveHeader()
  _saveBigData()
  _makeSmallData()
  _savePps()
  _saveBbd()


Class: OLE_PPS_Root  - X-Ref

Class for creating Root PPS's for OLE containers

OLE_PPS_Root($time_1st, $time_2nd, $raChild)   X-Ref
Constructor

param: integer $time_1st A timestamp
param: integer $time_2nd A timestamp

setTempDir($dir)   X-Ref
Sets the temp dir used for storing the OLE file

param: string $dir The dir to be used as temp dir
return: true if given dir is valid, false otherwise

save($filename)   X-Ref
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.

param: string $filename The name of the file where to save the OLE container
return: mixed true on success, PEAR_Error on failure

_calcSize(&$raList)   X-Ref
Calculate some numbers

param: array $raList Reference to an array of PPS's
return: array The array of numbers

_adjust2($i2)   X-Ref
Helper function for caculating a magic value for block sizes

param: integer $i2 The argument
return: integer

_saveHeader($iSBDcnt, $iBBcnt, $iPPScnt)   X-Ref
Save OLE header

param: integer $iSBDcnt
param: integer $iBBcnt
param: integer $iPPScnt

_saveBigData($iStBlk, &$raList)   X-Ref
Saving big data (PPS's with data bigger than OLE_DATA_SIZE_SMALL)

param: integer $iStBlk
param: array &$raList Reference to array of PPS's

_makeSmallData(&$raList)   X-Ref
get small data (PPS's with data smaller than OLE_DATA_SIZE_SMALL)

param: array &$raList Reference to array of PPS's

_savePps(&$raList)   X-Ref
Saves all the PPS's WKs

param: array $raList Reference to an array with all PPS's

_saveBbd($iSbdSize, $iBsize, $iPpsCnt)   X-Ref
Saving Big Block Depot

param: integer $iSbdSize
param: integer $iBsize
param: integer $iPpsCnt



Generated: Wed Dec 30 05:55:15 2009 Cross-referenced by PHPXref 0.7