| [ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
| Copyright: | Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
| License: | http://framework.zend.com/license/new-bsd New BSD License |
| Version: | $Id$ |
| File Size: | 190 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
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:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |