__construct()
getContent()
getEncodedStream()
getHeaders()
getHeadersArray()
getRawContent()
isStream()
$boundary
$charset
$description
$disposition
$encoding
$filename
$id
$language
$location
$type
$content
$filters
$isStream
Class representing a MIME part.
__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) : string
string
string
getEncodedStream(string $EOL) : \Zend\Mime\stream
very useful for large file attachments.
string
\Zend\Mime\Exception\RuntimeException |
if not a stream or unable to append filter |
---|
\Zend\Mime\stream
getHeaders(string $EOL) : String
string
String
getHeadersArray(string $EOL) : array
access | public |
---|
string
array
getRawContent() : string
string
isStream() : bool
if true, getEncodedStream can be called, otherwise only getContent can be used to fetch the encoded content of the part
bool
$boundary
$charset
$description
$disposition
$encoding
$filename
$id
$language
$location
$type
$content
$filters
$isStream