MediaWiki REL1_33
|
Stream wrapper around 7za filter program. More...
Public Member Functions | |
stream_close () | |
stream_eof () | |
stream_flush () | |
stream_open ( $path, $mode, $options, &$opened_path) | |
stream_read ( $count) | |
stream_seek ( $offset, $whence) | |
stream_tell () | |
stream_write ( $data) | |
url_stat ( $path, $flags) | |
Protected Attributes | |
$stream | |
Private Member Functions | |
stripPath ( $path) | |
Stream wrapper around 7za filter program.
Required since we can't pass an open file resource to XMLReader->open() which is used for the text prefetch.
SevenZipStream::stream_open | ( | $path, | |
$mode, | |||
$options, | |||
& | $opened_path ) |
Definition at line 45 of file 7zip.inc.
References $command, $options, and(), stripPath(), and wfIsWindows().
SevenZipStream::stream_write | ( | $data | ) |
|
private |
Definition at line 39 of file 7zip.inc.
References and().
Referenced by stream_open(), and url_stat().
SevenZipStream::url_stat | ( | $path, | |
$flags ) |
Definition at line 63 of file 7zip.inc.
References and(), and stripPath().