class PHPExcel_Shared_ZipStreamWrapper

PHPExcelSharedZipStreamWrapper

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Methods

static 
register()

Register wrapper

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

Implements support for fopen().

boolean
statName()

Implements support for fstat().

boolean
url_stat()

Implements support for fstat().

boolean
stream_stat()

Implements support for fstat().

string
stream_read(int $count)

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

int
stream_tell()

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

bool
stream_eof()

EOF stream

bool
stream_seek(int $offset, int $whence)

Seek stream

Details

at line 70
static register()

Register wrapper

at line 85
bool stream_open(string $path, string $mode, int $options, string $opened_path)

Implements support for fopen().

Parameters

string $path resource name including scheme, e.g.
string $mode only "r" is supported
int $options mask of STREAMREPORTERRORS and STREAMUSEPATH
string $opened_path &$openedPath absolute path of the opened stream (out parameter)

Return Value

bool true on success

at line 112
boolean statName()

Implements support for fstat().

Return Value

boolean

at line 122
boolean url_stat()

Implements support for fstat().

Return Value

boolean

at line 132
boolean stream_stat()

Implements support for fstat().

Return Value

boolean

at line 143
string stream_read(int $count)

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

Parameters

int $count maximum number of bytes to read

Return Value

string

at line 156
int stream_tell()

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

Return Value

int

at line 166
bool stream_eof()

EOF stream

Return Value

bool

at line 178
bool stream_seek(int $offset, int $whence)

Seek stream

Parameters

int $offset byte offset
int $whence SEEKSET, SEEKCUR or SEEK_END

Return Value

bool