| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
 Inheritance diagram for OLE_PPS_Root:
 Inheritance diagram for OLE_PPS_Root: Collaboration diagram for OLE_PPS_Root:
 Collaboration diagram for OLE_PPS_Root:| Public Member Functions | |
| OLE_PPS_Root ($time_1st, $time_2nd, $raChild) | |
| Constructor. | |
| setTempDir ($dir) | |
| Sets the temp dir used for storing the OLE file. | |
| save ($filename) | |
| Method for saving the whole OLE container (including files). | |
| _calcSize (&$raList) | |
| Calculate some numbers. | |
| _adjust2 ($i2) | |
| Helper function for caculating a magic value for block sizes. | |
| _saveHeader ($iSBDcnt, $iBBcnt, $iPPScnt) | |
| Save OLE header. | |
| _saveBigData ($iStBlk, &$raList) | |
| Saving big data (PPS's with data bigger than OLE_DATA_SIZE_SMALL) | |
| _makeSmallData (&$raList) | |
| get small data (PPS's with data smaller than OLE_DATA_SIZE_SMALL) | |
| _savePps (&$raList) | |
| Saves all the PPS's WKs. | |
| _saveBbd ($iSbdSize, $iBsize, $iPpsCnt) | |
| Saving Big Block Depot. | |
| OLE_PPS_Root ($time_1st, $time_2nd, $raChild) | |
| Constructor. | |
| setTempDir ($dir) | |
| Sets the temp dir used for storing the OLE file. | |
| save ($filename) | |
| Method for saving the whole OLE container (including files). | |
| _calcSize (&$raList) | |
| Calculate some numbers. | |
| _adjust2 ($i2) | |
| Helper function for caculating a magic value for block sizes. | |
| _saveHeader ($iSBDcnt, $iBBcnt, $iPPScnt) | |
| Save OLE header. | |
| _saveBigData ($iStBlk, &$raList) | |
| Saving big data (PPS's with data bigger than OLE_DATA_SIZE_SMALL) | |
| _makeSmallData (&$raList) | |
| get small data (PPS's with data smaller than OLE_DATA_SIZE_SMALL) | |
| _savePps (&$raList) | |
| Saves all the PPS's WKs. | |
| _saveBbd ($iSbdSize, $iBsize, $iPpsCnt) | |
| Saving Big Block Depot. | |
|  Public Member Functions inherited from OLE_PPS | |
| OLE_PPS ($No, $name, $type, $prev, $next, $dir, $time_1st, $time_2nd, $data, $children) | |
| The constructor. | |
| _DataLen () | |
| Returns the amount of data saved for this PPS. | |
| _getPpsWk () | |
| Returns a string with the PPS's WK (What is a WK?) | |
| _savePpsSetPnt (&$pps_array) | |
| Updates index and pointers to previous, next and children PPS's for this PPS. | |
| OLE_PPS ($No, $name, $type, $prev, $next, $dir, $time_1st, $time_2nd, $data, $children) | |
| The constructor. | |
| _DataLen () | |
| Returns the amount of data saved for this PPS. | |
| _getPpsWk () | |
| Returns a string with the PPS's WK (What is a WK?) | |
| _savePpsSetPnt (&$pps_array) | |
| Updates index and pointers to previous, next and children PPS's for this PPS. | |
|  Public Member Functions inherited from PEAR | |
| PEAR ($error_class=null) | |
| Constructor. | |
| _PEAR () | |
| Destructor (the emulated type of...). | |
| & | getStaticProperty ($class, $var) | 
| If you have a class that's mostly/entirely static, and you need static properties, you can use this method to simulate them. | |
| registerShutdownFunc ($func, $args=array()) | |
| Use this function to register a shutdown method for static classes. | |
| isError ($data, $code=null) | |
| Tell whether a value is a PEAR error. | |
| setErrorHandling ($mode=null, $options=null) | |
| Sets how errors generated by this object should be handled. | |
| expectError ($code= '*') | |
| This method is used to tell which errors you expect to get. | |
| popExpect () | |
| This method pops one element off the expected error codes stack. | |
| _checkDelExpect ($error_code) | |
| This method checks unsets an error code if available. | |
| delExpect ($error_code) | |
| This method deletes all occurences of the specified element from the expected error codes stack. | |
| & | raiseError ($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false) | 
| This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. | |
| & | throwError ($message=null, $code=null, $userinfo=null) | 
| Simpler form of raiseError with fewer options. | |
| staticPushErrorHandling ($mode, $options=null) | |
| staticPopErrorHandling () | |
| pushErrorHandling ($mode, $options=null) | |
| Push a new error handler on top of the error handler options stack. | |
| popErrorHandling () | |
| Pop the last error handler used. | |
| loadExtension ($ext) | |
| OS independant PHP extension load. | |
| Data Fields | |
| $_tmp_dir | |
|  Data Fields inherited from OLE_PPS | |
| $No | |
| $Name | |
| $Type | |
| $PrevPps | |
| $NextPps | |
| $DirPps | |
| $Time1st | |
| $Time2nd | |
| $_StartBlock | |
| $Size | |
| $_data | |
| $children = array() | |
| $ole | |
|  Data Fields inherited from PEAR | |
| $_debug = false | |
| $_default_error_mode = null | |
| $_default_error_options = null | |
| $_default_error_handler = '' | |
| $_error_class = 'PEAR_Error' | |
| $_expected_errors = array() | |
| OLE_PPS_Root::_adjust2 | ( | $i2 | ) | 
| OLE_PPS_Root::_adjust2 | ( | $i2 | ) | 
Helper function for caculating a magic value for block sizes.
private
| integer | $i2 | The argument | 
Definition at line 190 of file Root.php.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| OLE_PPS_Root::_calcSize | ( | & | $raList | ) | 
Calculate some numbers.
private
| array | $raList | Reference to an array of PPS's | 
Definition at line 148 of file Root.php.
References OLE_DATA_SIZE_SMALL, OLE_LONG_INT_SIZE, OLE_PPS_SIZE, and OLE_PPS_TYPE_FILE.
| OLE_PPS_Root::_calcSize | ( | & | $raList | ) | 
Calculate some numbers.
private
| array | $raList | Reference to an array of PPS's | 
Definition at line 151 of file Root.php.
References OLE_DATA_SIZE_SMALL, OLE_LONG_INT_SIZE, OLE_PPS_SIZE, and OLE_PPS_TYPE_FILE.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| OLE_PPS_Root::_makeSmallData | ( | & | $raList | ) | 
get small data (PPS's with data smaller than OLE_DATA_SIZE_SMALL)
private
| array | &$raList | Reference to array of PPS's | 
Definition at line 327 of file Root.php.
References OLE_DATA_SIZE_SMALL, OLE_LONG_INT_SIZE, and OLE_PPS_TYPE_FILE.
| OLE_PPS_Root::_makeSmallData | ( | & | $raList | ) | 
get small data (PPS's with data smaller than OLE_DATA_SIZE_SMALL)
private
| array | &$raList | Reference to array of PPS's | 
Definition at line 344 of file Root.php.
References OLE_DATA_SIZE_SMALL, OLE_LONG_INT_SIZE, and OLE_PPS_TYPE_FILE.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| OLE_PPS_Root::_saveBbd | ( | $iSbdSize, | |
| $iBsize, | |||
| $iPpsCnt | |||
| ) | 
Saving Big Block Depot.
private
| integer | $iSbdSize | |
| integer | $iBsize | |
| integer | $iPpsCnt | 
Definition at line 407 of file Root.php.
References OLE_LONG_INT_SIZE.
| OLE_PPS_Root::_saveBbd | ( | $iSbdSize, | |
| $iBsize, | |||
| $iPpsCnt | |||
| ) | 
Saving Big Block Depot.
private
| integer | $iSbdSize | |
| integer | $iBsize | |
| integer | $iPpsCnt | 
Definition at line 432 of file Root.php.
References OLE_LONG_INT_SIZE.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| OLE_PPS_Root::_saveBigData | ( | $iStBlk, | |
| & | $raList | ||
| ) | 
Saving big data (PPS's with data bigger than OLE_DATA_SIZE_SMALL)
private
| integer | $iStBlk | |
| array | &$raList | Reference to array of PPS's | 
Definition at line 277 of file Root.php.
References OLE_DATA_SIZE_SMALL, OLE_PPS_TYPE_DIR, and OLE_PPS_TYPE_ROOT.
| OLE_PPS_Root::_saveBigData | ( | $iStBlk, | |
| & | $raList | ||
| ) | 
Saving big data (PPS's with data bigger than OLE_DATA_SIZE_SMALL)
private
| integer | $iStBlk | |
| array | &$raList | Reference to array of PPS's | 
Definition at line 287 of file Root.php.
References OLE_DATA_SIZE_SMALL, OLE_PPS_TYPE_DIR, and OLE_PPS_TYPE_ROOT.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| OLE_PPS_Root::_saveHeader | ( | $iSBDcnt, | |
| $iBBcnt, | |||
| $iPPScnt | |||
| ) | 
Save OLE header.
private
| integer | $iSBDcnt | |
| integer | $iBBcnt | |
| integer | $iPPScnt | 
Definition at line 200 of file Root.php.
References OLE_LONG_INT_SIZE.
| OLE_PPS_Root::_saveHeader | ( | $iSBDcnt, | |
| $iBBcnt, | |||
| $iPPScnt | |||
| ) | 
Save OLE header.
private
| integer | $iSBDcnt | |
| integer | $iBBcnt | |
| integer | $iPPScnt | 
Definition at line 204 of file Root.php.
References OLE_LONG_INT_SIZE.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| OLE_PPS_Root::_savePps | ( | & | $raList | ) | 
Saves all the PPS's WKs.
private
| array | $raList | Reference to an array with all PPS's | 
Definition at line 383 of file Root.php.
References OLE_PPS\_getPpsWk(), and OLE_PPS_SIZE.
 Here is the call graph for this function:
 Here is the call graph for this function:| OLE_PPS_Root::_savePps | ( | & | $raList | ) | 
Saves all the PPS's WKs.
private
| array | $raList | Reference to an array with all PPS's | 
Definition at line 407 of file Root.php.
References OLE_PPS\_getPpsWk(), and OLE_PPS_SIZE.
Referenced by save().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| OLE_PPS_Root::OLE_PPS_Root | ( | $time_1st, | |
| $time_2nd, | |||
| $raChild | |||
| ) | 
Constructor.
public
| integer | $time_1st | A timestamp | 
| integer | $time_2nd | A timestamp | 
Definition at line 47 of file Root.php.
References OLE\Asc2Ucs(), OLE_PPS\OLE_PPS(), and OLE_PPS_TYPE_ROOT.
 Here is the call graph for this function:
 Here is the call graph for this function:| OLE_PPS_Root::OLE_PPS_Root | ( | $time_1st, | |
| $time_2nd, | |||
| $raChild | |||
| ) | 
Constructor.
public
| integer | $time_1st | A timestamp | 
| integer | $time_2nd | A timestamp | 
Definition at line 48 of file Root.php.
References OLE\Asc2Ucs(), OLE_PPS\OLE_PPS(), and OLE_PPS_TYPE_ROOT.
 Here is the call graph for this function:
 Here is the call graph for this function:| OLE_PPS_Root::save | ( | $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.
| string | $filename | The name of the file where to save the OLE container public | 
Definition at line 88 of file Root.php.
References $filename, _adjust2(), _calcSize(), _makeSmallData(), _saveBbd(), _saveBigData(), _saveHeader(), _savePps(), OLE_PPS\_savePpsSetPnt(), and PEAR\raiseError().
 Here is the call graph for this function:
 Here is the call graph for this function:| OLE_PPS_Root::save | ( | $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.
| string | $filename | The name of the file where to save the OLE container public | 
Definition at line 89 of file Root.php.
References $filename, _adjust2(), _calcSize(), _makeSmallData(), _saveBbd(), _saveBigData(), _saveHeader(), _savePps(), OLE_PPS\_savePpsSetPnt(), and PEAR\raiseError().
 Here is the call graph for this function:
 Here is the call graph for this function:| OLE_PPS_Root::setTempDir | ( | $dir | ) | 
| OLE_PPS_Root::setTempDir | ( | $dir | ) |