Zend Framework
1.12
|
Public Member Functions | |
__construct ($xmlString=null, $filePath=null, $fileContentType=null) | |
Create a new MimeMediaStream object. | |
read ($bytesRequested) | |
Read a specific chunk of the the MIME multipart message. | |
getTotalSize () | |
Return the total size of the mime message. | |
closeFileHandle () | |
Close the internal file that we are streaming to the socket. | |
getContentType () | |
Return a Content-type header that includes the current boundary string. | |
Protected Attributes | |
$_boundaryString = null | |
$_fileHandle = null | |
$_currentPart = 0 | |
$_totalSize = 0 | |
$_parts = null | |
__construct | ( | $xmlString = null , |
|
$filePath = null , |
|||
$fileContentType = null |
|||
) |
Create a new MimeMediaStream object.
string | $xmlString | The string corresponding to the XML section of the message, typically an atom entry or feed. |
string | $filePath | The path to the file that constitutes the binary part of the message. |
string | $fileContentType | 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 | ( | ) |
Close the internal file that we are streaming to the socket.
getContentType | ( | ) |
Return a Content-type header that includes the current boundary string.
getTotalSize | ( | ) |
Return the total size of the mime message.
read | ( | $bytesRequested | ) |
Read a specific chunk of the the MIME multipart message.
integer | $bufferSize | The size of the chunk that is to be read, must be lower than MAX_BUFFER_SIZE. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |