A streaming Media MIME class that allows for buffered read operations.
category | Zend |
---|---|
package | Zend_Gdata |
subpackage | Gdata |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(string $xmlString= null
, string $filePath= null
, string $fileContentType= null
)
string
The string corresponding to the XML section of the message, typically an atom entry or feed.
string
The path to the file that constitutes the binary part of the message.
string
The valid internet media type of the file.
\Zend_Gdata_App_IOException |
If the file cannot be read or does not exist. Also if mbstring.func_overload has been set > 1. |
---|
closeFileHandle() : void
getContentType() : string
string
A valid HTTP Content-Type header.getTotalSize() : integer
integer
Total size of the message to be sent.read($bytesRequested) : string
string
A corresponding piece of the message. This could be
binary or regular text.wrapEntry($entry, $fileMimeType) : void
$_boundaryString : string
null
$_currentPart : integer
0
$_fileHandle : resource
null
$_parts : array
null
$_totalSize : integer
0