__construct()
getContent()
getEncodedStream()
getHeaders()
getHeadersArray()
getRawContent()
isStream()
$boundary
$charset
$description
$disposition
$encoding
$filename
$id
$language
$location
$type
$content
$isStream
Class representing a MIME part.
__construct(mixed $content)
The (unencoded) content of the Part as passed as a string or stream
mixedString or Stream containing the content
getContent(string $EOL) : string
string
stringgetEncodedStream(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\streamgetHeaders(string $EOL) : String
string
StringgetHeadersArray(string $EOL) : array
| access | public |
|---|
string
arraygetRawContent() : string
stringisStream() : 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
$isStream