MediaWiki master
MediaWiki\Maintenance\SevenZipStream Class Reference

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 ()
 

Public Attributes

resource null $context
 Must exists on stream wrapper class.
 

Protected Attributes

resource false $stream
 

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 38 of file SevenZipStream.php.

Member Function Documentation

◆ register()

static MediaWiki\Maintenance\SevenZipStream::register ( )
static

Definition at line 45 of file SevenZipStream.php.

Referenced by MediaWiki\Maintenance\TextPassDumper\finalSetup().

◆ stream_close()

MediaWiki\Maintenance\SevenZipStream::stream_close ( )

Definition at line 82 of file SevenZipStream.php.

◆ stream_eof()

MediaWiki\Maintenance\SevenZipStream::stream_eof ( )

Definition at line 102 of file SevenZipStream.php.

◆ stream_flush()

MediaWiki\Maintenance\SevenZipStream::stream_flush ( )

Definition at line 86 of file SevenZipStream.php.

◆ stream_open()

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

Definition at line 59 of file SevenZipStream.php.

References $path, and wfIsWindows().

◆ stream_read()

MediaWiki\Maintenance\SevenZipStream::stream_read ( $count)

Definition at line 90 of file SevenZipStream.php.

◆ stream_seek()

MediaWiki\Maintenance\SevenZipStream::stream_seek ( $offset,
$whence )

Definition at line 106 of file SevenZipStream.php.

◆ stream_tell()

MediaWiki\Maintenance\SevenZipStream::stream_tell ( )

Definition at line 98 of file SevenZipStream.php.

◆ stream_write()

MediaWiki\Maintenance\SevenZipStream::stream_write ( $data)

Definition at line 94 of file SevenZipStream.php.

◆ url_stat()

MediaWiki\Maintenance\SevenZipStream::url_stat ( $path,
$flags )

Definition at line 78 of file SevenZipStream.php.

References $path.

Member Data Documentation

◆ $context

resource null MediaWiki\Maintenance\SevenZipStream::$context

Must exists on stream wrapper class.

Definition at line 43 of file SevenZipStream.php.

◆ $stream

resource false MediaWiki\Maintenance\SevenZipStream::$stream
protected

Definition at line 40 of file SevenZipStream.php.


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