\PHPExcel_Shared_ZipStreamWrapper

PHPExcel_Shared_ZipStreamWrapper

Summary

Methods
Properties
Constants
register()
stream_open()
statName()
url_stat()
stream_stat()
stream_read()
stream_tell()
stream_eof()
stream_seek()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_archive
$_fileNameInArchive
$_position
$_data
N/A

Properties

$_archive

$_archive : \ZipAcrhive

Internal ZipAcrhive

Type

\ZipAcrhive

$_fileNameInArchive

$_fileNameInArchive : string

Filename in ZipAcrhive

Type

string

$_position

$_position : integer

Position in file

Type

integer

$_data

$_data : mixed

Data

Type

mixed

Methods

register()

register() 

Register wrapper

stream_open()

stream_open(string  $path, string  $mode, integer  $options,   $opened_path) : boolean

Implements support for fopen().

Parameters

string $path

resource name including scheme, e.g.

string $mode

only "r" is supported

integer $options

mask of STREAM_REPORT_ERRORS and STREAM_USE_PATH

$opened_path

Returns

boolean —

true on success

statName()

statName() : boolean

Implements support for fstat().

Returns

boolean

url_stat()

url_stat() : boolean

Implements support for fstat().

Returns

boolean

stream_stat()

stream_stat() : boolean

Implements support for fstat().

Returns

boolean

stream_read()

stream_read(integer  $count) : string

Implements support for fread(), fgets() etc.

Parameters

integer $count

maximum number of bytes to read

Returns

string

stream_tell()

stream_tell() : integer

Returns the position of the file pointer, i.e. its offset into the file stream. Implements support for ftell().

Returns

integer

stream_eof()

stream_eof() : boolean

EOF stream

Returns

boolean

stream_seek()

stream_seek(integer  $offset, integer  $whence) : boolean

Seek stream

Parameters

integer $offset

byte offset

integer $whence

SEEK_SET, SEEK_CUR or SEEK_END

Returns

boolean