A wrapper for strings for buffered reading.

category Zend
package Zend_Gdata
subpackage Gdata
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Create a new MimeFile object.

__construct(string $fileHandle) 

Parameters

$fileHandle

string

An open file handle to the file being read.

Read the next chunk of the file.

read(integer $bytesRequested) : string

Parameters

$bytesRequested

integer

The size of the chunk that is to be read.

Returns

stringA corresponding piece of the message. This could be binary or regular text.

 Properties

 

A handle to the file that is part of the message.

$_fileHandle : resource

Default

null