[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Mime/ -> Part.php (summary)

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: 217 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Mime_Part:: (6 methods):
  __construct()
  isStream()
  getEncodedStream()
  getContent()
  getHeadersArray()
  getHeaders()


Class: Zend_Mime_Part  - X-Ref

Class representing a MIME part.

__construct($content)   X-Ref
create a new Mime Part.
The (unencoded) content of the Part as passed
as a string or stream

param: mixed $content  String or Stream containing the content

isStream()   X-Ref
check if this part can be read as a stream.
if true, getEncodedStream can be called, otherwise
only getContent can be used to fetch the encoded
content of the part

return: bool

getEncodedStream()   X-Ref
if this was created with a stream, return a filtered stream for
reading the content. very useful for large file attachments.

return: stream

getContent($EOL = Zend_Mime::LINEEND)   X-Ref
Get the Content of the current Mime Part in the given encoding.

return: String

getHeadersArray($EOL = Zend_Mime::LINEEND)   X-Ref
Create and return the array of headers for this MIME part

return: array

getHeaders($EOL = Zend_Mime::LINEEND)   X-Ref
Return the headers for this part as a string

return: String



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1