MediaWiki  REL1_22
SevenZipStream Class Reference

Stream wrapper around 7za filter program. More...

List of all members.

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)

Detailed Description

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 34 of file 7zip.inc.


Member Function Documentation

Definition at line 66 of file 7zip.inc.

Definition at line 86 of file 7zip.inc.

Definition at line 70 of file 7zip.inc.

SevenZipStream::stream_open ( path,
mode,
options,
&$  opened_path 
)

Definition at line 42 of file 7zip.inc.

References $options, $path, stripPath(), wfEscapeShellArg(), and wfIsWindows().

Definition at line 74 of file 7zip.inc.

References $count.

SevenZipStream::stream_seek ( offset,
whence 
)

Definition at line 90 of file 7zip.inc.

Definition at line 82 of file 7zip.inc.

Definition at line 78 of file 7zip.inc.

SevenZipStream::stripPath ( path) [private]

Definition at line 37 of file 7zip.inc.

References $path.

Referenced by stream_open(), and url_stat().

SevenZipStream::url_stat ( path,
flags 
)

Definition at line 60 of file 7zip.inc.

References $path, and stripPath().


Member Data Documentation

SevenZipStream::$stream [protected]

Definition at line 35 of file 7zip.inc.


The documentation for this class was generated from the following file: