Class representing a MIME part.
category | Zend |
---|---|
package | Zend_Mime |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(mixed $content)
The (unencoded) content of the Part as passed as a string or stream
mixed
String or Stream containing the content
getContent(string $EOL = \Zend_Mime::LINEEND
) : string
string
Line end; defaults to {@link Zend_Mime::LINEEND}
\Zend_Mime_Exception |
---|
string
getEncodedStream() : mixed
\Zend_Mime_Exception |
if not a stream or unable to append filter |
---|
mixed
StreamgetHeaders(string $EOL = \Zend_Mime::LINEEND
) : string
string
Line end; defaults to {@link Zend_Mime::LINEEND}
string
getHeadersArray(string $EOL = \Zend_Mime::LINEEND
) : array
string
Line end; defaults to {@link Zend_Mime::LINEEND}
array
getRawContent() : string
string
isStream() : boolean
if true, getEncodedStream can be called, otherwise only getContent can be used to fetch the encoded content of the part
boolean
$boundary : string
$charset : string
$description : string
$disposition : string
$encoding : string
\Zend_Mime::ENCODING_8BIT
$filename : string
$id : string
$language : string
$location : string
$type : string
\Zend_Mime::TYPE_OCTETSTREAM
$_content : mixed
$_isStream : boolean
false