PHPExcel_Shared_OLE_ChainedBlockStream
class PHPExcel_Shared_OLE_ChainedBlockStream
PHPExcelSharedOLE_ChainedBlockStream
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
Properties
OLE | $ole | The OLE container of the file that is being read. | |
array | $params | Parameters specified by fopen(). | |
string | $data | The binary data of the file. | |
int | $pos | The file pointer. |
Methods
Implements support for fopen().
Implements support for fclose().
Implements support for fread(), fgets() etc.
Implements support for feof().
Returns the position of the file pointer, i.e. its offset into the file stream. Implements support for ftell().
Implements support for fseek().
Implements support for fstat(). Currently the only supported field is "size".
Details
at line 74
bool
stream_open(string $path, string $mode, int $options, string $openedPath)
Implements support for fopen().
For creating streams using this wrapper, use OLEPPSFile::getStream().
at line 128
stream_close()
Implements support for fclose().
at line 140
string
stream_read(int $count)
Implements support for fread(), fgets() etc.
at line 155
bool
stream_eof()
Implements support for feof().
at line 166
int
stream_tell()
Returns the position of the file pointer, i.e. its offset into the file stream. Implements support for ftell().
at line 178
bool
stream_seek(int $offset, int $whence)
Implements support for fseek().
at line 197
array
stream_stat()
Implements support for fstat(). Currently the only supported field is "size".