\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 : int

Position in file

Type

int

$_data

$_data : mixed

Data

Type

mixed

Methods

register()

register() : mixed

Register wrapper

Returns

mixed —

stream_open()

stream_open(string  $path, string  $mode, int  $options, mixed  $opened_path) : bool

Implements support for fopen().

Parameters

string $path

resource name including scheme, e.g.

string $mode

only "r" is supported

int $options

mask of STREAM_REPORT_ERRORS and STREAM_USE_PATH

mixed $opened_path

Returns

bool —

true on success

statName()

statName() : bool

Implements support for fstat().

Returns

bool —

url_stat()

url_stat() : bool

Implements support for fstat().

Returns

bool —

stream_stat()

stream_stat() : bool

Implements support for fstat().

Returns

bool —

stream_read()

stream_read(int  $count) : string

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

Parameters

int $count

maximum number of bytes to read

Returns

string —

stream_tell()

stream_tell() : int

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

Returns

int —

stream_eof()

stream_eof() : bool

EOF stream

Returns

bool —

stream_seek()

stream_seek(int  $offset, int  $whence) : bool

Seek stream

Parameters

int $offset

byte offset

int $whence

SEEK_SET, SEEK_CUR or SEEK_END

Returns

bool —