ILIAS
eassessment Revision 61809
|
Public Member Functions | |
OLE_PPS_File ($name) | |
The constructor. | |
setTempDir ($dir) | |
Sets the temp dir used for storing the OLE file. | |
init () | |
Initialization method. | |
append ($data) | |
Append data to PPS. | |
OLE_PPS_File ($name) | |
The constructor. | |
setTempDir ($dir) | |
Sets the temp dir used for storing the OLE file. | |
init () | |
Initialization method. | |
append ($data) | |
Append data to PPS. | |
getStream () | |
Returns a stream for reading this file using fread() etc. | |
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_File::append | ( | $data | ) |
OLE_PPS_File::append | ( | $data | ) |
OLE_PPS_File::getStream | ( | ) |
OLE_PPS_File::init | ( | ) |
Initialization method.
Has to be called right after OLE_PPS_File().
public
Definition at line 85 of file File.php.
References PEAR\raiseError().
OLE_PPS_File::init | ( | ) |
Initialization method.
Has to be called right after OLE_PPS_File().
public
Definition at line 86 of file File.php.
References PEAR\raiseError().
OLE_PPS_File::OLE_PPS_File | ( | $name | ) |
The constructor.
public
string | $name | The name of the file (in Unicode) |
Definition at line 47 of file File.php.
References $name, OLE_PPS\OLE_PPS(), and OLE_PPS_TYPE_FILE.
OLE_PPS_File::OLE_PPS_File | ( | $name | ) |
The constructor.
public
string | $name | The name of the file (in Unicode) |
Definition at line 48 of file File.php.
References $name, OLE_PPS\OLE_PPS(), OLE_PPS_TYPE_FILE, and System\tmpdir().
OLE_PPS_File::setTempDir | ( | $dir | ) |
OLE_PPS_File::setTempDir | ( | $dir | ) |