SevenZipStream Class Reference
[Maintenance]

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

List of all members.

Public Member Functions

 stream_open ($path, $mode, $options, &$opened_path)
 url_stat ($path, $flags)
 stream_close ()
 stream_flush ()
 stream_read ($count)
 stream_write ($data)
 stream_tell ()
 stream_eof ()
 stream_seek ($offset, $whence)

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


Member Function Documentation

SevenZipStream::stream_close (  ) 

Definition at line 41 of file 7zip.inc.

SevenZipStream::stream_eof (  ) 

Definition at line 61 of file 7zip.inc.

SevenZipStream::stream_flush (  ) 

Definition at line 45 of file 7zip.inc.

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

Definition at line 17 of file 7zip.inc.

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

SevenZipStream::stream_read ( count  ) 

Definition at line 49 of file 7zip.inc.

SevenZipStream::stream_seek ( offset,
whence 
)

Definition at line 65 of file 7zip.inc.

SevenZipStream::stream_tell (  ) 

Definition at line 57 of file 7zip.inc.

SevenZipStream::stream_write ( data  ) 

Definition at line 53 of file 7zip.inc.

SevenZipStream::stripPath ( path  )  [private]

Definition at line 12 of file 7zip.inc.

References $path.

Referenced by stream_open(), and url_stat().

SevenZipStream::url_stat ( path,
flags 
)

Definition at line 35 of file 7zip.inc.

References $path, and stripPath().


Member Data Documentation

SevenZipStream::$stream

Definition at line 10 of file 7zip.inc.


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

Generated on Sat Apr 30 22:57:48 2011 for MediaWiki by  doxygen 1.5.9