ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
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 | |
$No | |
$Name | |
$Type | |
$PrevPps | |
$NextPps | |
$DirPps | |
$Time1st | |
$Time2nd | |
$_StartBlock | |
$Size | |
$_data | |
$children = array() | |
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::_DataLen | ( | ) |
Returns the amount of data saved for this PPS.
private
Definition at line 147 of file PPS.php.
OLE_PPS::_getPpsWk | ( | ) |
Returns a string with the PPS's WK (What is a WK?)
private
Definition at line 169 of file PPS.php.
References $Name, $ret, and OLE\LocalDate2OLE().
Referenced by OLE_PPS_Root\_savePps().
OLE_PPS::_savePpsSetPnt | ( | & | $pps_array | ) |
Updates index and pointers to previous, next and children PPS's for this PPS.
I don't think it'll work with Dir PPS's.
private
array | &$pps_array | Reference to the array of PPS's for the whole OLE container |
Definition at line 204 of file PPS.php.
References $No.
Referenced by OLE_PPS_Root\save().
OLE_PPS::OLE_PPS | ( | $No, | |
$name, | |||
$type, | |||
$prev, | |||
$next, | |||
$dir, | |||
$time_1st, | |||
$time_2nd, | |||
$data, | |||
$children | |||
) |
The constructor.
public
integer | $No | The PPS index |
string | $name | The PPS name (in Unicode) |
integer | $type | The PPS type. Dir, Root or File |
integer | $prev | The index of the previous PPS |
integer | $next | The index of the next PPS |
integer | $dir | The index of it's first child if this is a Dir or Root PPS |
integer | $time_1st | A timestamp |
integer | $time_2nd | A timestamp |
array | $children | Array containing children PPS for this PPS |
Definition at line 121 of file PPS.php.
References $children, $data, $dir, $name, $No, and $type.
Referenced by OLE_PPS_File\OLE_PPS_File(), and OLE_PPS_Root\OLE_PPS_Root().
OLE_PPS::$Name |
Definition at line 45 of file PPS.php.
Referenced by _getPpsWk().
OLE_PPS::$No |
Definition at line 39 of file PPS.php.
Referenced by _savePpsSetPnt(), and OLE_PPS().