[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
Copyright: | Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
License: | http://framework.zend.com/license/new-bsd New BSD License |
Version: | $Id: MediaMimeStream.php 24593 2012-01-05 20:35:02Z matthew $ |
File Size: | 190 lines (6 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 3 files include/Zend/Gdata/App/IOException.php include/Zend/Gdata/MimeFile.php include/Zend/Gdata/MimeBodyString.php |
Zend_Gdata_MediaMimeStream:: (6 methods):
__construct()
wrapEntry()
read()
getTotalSize()
closeFileHandle()
getContentType()
Class: Zend_Gdata_MediaMimeStream - X-Ref
A streaming Media MIME class that allows for buffered read operations.__construct($xmlString = null, $filePath = null,$fileContentType = null) X-Ref |
Create a new MimeMediaStream object. param: string $xmlString The string corresponding to the XML section param: string $filePath The path to the file that constitutes the binary param: string $fileContentType The valid internet media type of the file. |
wrapEntry($entry, $fileMimeType) X-Ref |
Sandwiches the entry body into a MIME message return: void |
read($bytesRequested) X-Ref |
Read a specific chunk of the the MIME multipart message. param: integer $bufferSize The size of the chunk that is to be read, return: string A corresponding piece of the message. This could be |
getTotalSize() X-Ref |
Return the total size of the mime message. return: integer Total size of the message to be sent. |
closeFileHandle() X-Ref |
Close the internal file that we are streaming to the socket. return: void |
getContentType() X-Ref |
Return a Content-type header that includes the current boundary string. return: string A valid HTTP Content-Type header. |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |