ILIAS
eassessment Revision 61809
|
Public Member Functions | |
stream_open ($path, $mode, $options, &$openedPath) | |
Implements support for fopen(). | |
stream_close () | |
Implements support for fclose(). | |
stream_read ($count) | |
Implements support for fread(), fgets() etc. | |
stream_eof () | |
Implements support for feof(). | |
stream_tell () | |
Returns the position of the file pointer, i.e. | |
stream_seek ($offset, $whence) | |
Implements support for fseek(). | |
stream_stat () | |
Implements support for fstat(). | |
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 | |
$ole | |
$params | |
$data | |
$pos | |
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() |
Definition at line 41 of file ChainedBlockStream.php.
OLE_ChainedBlockStream::stream_close | ( | ) |
Implements support for fclose().
Definition at line 137 of file ChainedBlockStream.php.
References $GLOBALS.
OLE_ChainedBlockStream::stream_eof | ( | ) |
Implements support for feof().
Definition at line 162 of file ChainedBlockStream.php.
Referenced by stream_read().
OLE_ChainedBlockStream::stream_open | ( | $path, | |
$mode, | |||
$options, | |||
& | $openedPath | ||
) |
Implements support for fopen().
For creating streams using this wrapper, use OLE_PPS_File::getStream().
string | resource name including scheme, e.g. ole-chainedblockstream://oleInstanceId=1 |
string | only "r" is supported |
int | mask of STREAM_REPORT_ERRORS and STREAM_USE_PATH |
string | absolute path of the opened stream (out parameter) |
Definition at line 77 of file ChainedBlockStream.php.
References $GLOBALS, $path, and $pos.
OLE_ChainedBlockStream::stream_read | ( | $count | ) |
Implements support for fread(), fgets() etc.
int | maximum number of bytes to read |
Definition at line 148 of file ChainedBlockStream.php.
References stream_eof().
OLE_ChainedBlockStream::stream_seek | ( | $offset, | |
$whence | |||
) |
Implements support for fseek().
int | byte offset |
int | SEEK_SET, SEEK_CUR or SEEK_END |
Definition at line 190 of file ChainedBlockStream.php.
OLE_ChainedBlockStream::stream_stat | ( | ) |
Implements support for fstat().
Currently the only supported field is "size".
Definition at line 209 of file ChainedBlockStream.php.
OLE_ChainedBlockStream::stream_tell | ( | ) |
Returns the position of the file pointer, i.e.
its offset into the file stream. Implements support for ftell().
Definition at line 179 of file ChainedBlockStream.php.
References $pos.
OLE_ChainedBlockStream::$data |
Definition at line 59 of file ChainedBlockStream.php.
OLE_ChainedBlockStream::$ole |
Definition at line 47 of file ChainedBlockStream.php.
OLE_ChainedBlockStream::$params |
Definition at line 53 of file ChainedBlockStream.php.
OLE_ChainedBlockStream::$pos |
Definition at line 65 of file ChainedBlockStream.php.
Referenced by stream_open(), and stream_tell().