MediaWiki REL1_37
|
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) | |
Static Public Member Functions | |
static | register () |
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.
Definition at line 36 of file SevenZipStream.php.
|
static |
Definition at line 39 of file SevenZipStream.php.
Referenced by TextPassDumper\finalSetup().
SevenZipStream::stream_close | ( | ) |
Definition at line 76 of file SevenZipStream.php.
SevenZipStream::stream_eof | ( | ) |
Definition at line 96 of file SevenZipStream.php.
SevenZipStream::stream_flush | ( | ) |
Definition at line 80 of file SevenZipStream.php.
SevenZipStream::stream_open | ( | $path, | |
$mode, | |||
$options, | |||
& | $opened_path | ||
) |
Definition at line 53 of file SevenZipStream.php.
References $command, $path, stripPath(), and wfIsWindows().
SevenZipStream::stream_read | ( | $count | ) |
Definition at line 84 of file SevenZipStream.php.
SevenZipStream::stream_seek | ( | $offset, | |
$whence | |||
) |
Definition at line 100 of file SevenZipStream.php.
SevenZipStream::stream_tell | ( | ) |
Definition at line 92 of file SevenZipStream.php.
SevenZipStream::stream_write | ( | $data | ) |
Definition at line 88 of file SevenZipStream.php.
|
private |
Definition at line 47 of file SevenZipStream.php.
References $path.
Referenced by stream_open(), and url_stat().
SevenZipStream::url_stat | ( | $path, | |
$flags | |||
) |
Definition at line 72 of file SevenZipStream.php.
References $path, and stripPath().
|
protected |
Definition at line 37 of file SevenZipStream.php.