__construct()
getBoundary()
getCharset()
getContent()
getDescription()
getDisposition()
getEncodedStream()
getEncoding()
getFileName()
getFilters()
getHeaders()
getHeadersArray()
getId()
getIsStream()
getLanguage()
getLocation()
getRawContent()
getType()
isStream()
setBoundary()
setCharset()
setContent()
setDescription()
setDisposition()
setEncoding()
setFileName()
setFilters()
setId()
setIsStream()
setLanguage()
setLocation()
setType()
$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
mixedString or Stream containing the content
\Zend\Mime\Exception\InvalidArgumentException |
|---|
getBoundary() : string
stringgetCharset() : string
stringgetContent(string $EOL) : string
string
stringgetDescription() : string
stringgetDisposition() : string
stringgetEncodedStream(string $EOL) : resource
very useful for large file attachments.
string
\Zend\Mime\Exception\RuntimeException |
if not a stream or unable to append filter |
|---|
resourcegetEncoding() : string
stringgetFileName() : string
stringgetFilters() : array
arraygetHeaders(string $EOL) : String
string
StringgetHeadersArray(string $EOL) : array
| access | public |
|---|
string
arraygetId() : string
stringgetIsStream() : bool
boolgetLanguage() : string
stringgetLocation() : string
stringgetRawContent() : string
stringgetType() : string
stringisStream() : bool
if true, getEncodedStream can be called, otherwise only getContent can be used to fetch the encoded content of the part
boolsetBoundary(string $boundary) : \Zend\Mime\self
string
\Zend\Mime\selfsetCharset($charset) : \Zend\Mime\self
\Zend\Mime\selfsetContent(mixed $content) : \Zend\Mime\self
mixedString or Stream containing the content
\Zend\Mime\Exception\InvalidArgumentException |
|---|
\Zend\Mime\selfsetDescription(string $description) : \Zend\Mime\self
string
\Zend\Mime\selfsetDisposition(string $disposition) : \Zend\Mime\self
string
\Zend\Mime\selfsetEncoding(string $encoding) : \Zend\Mime\self
string
\Zend\Mime\selfsetFileName(string $fileName) : \Zend\Mime\self
string
\Zend\Mime\selfsetFilters(array $filters) : \Zend\Mime\self
array
\Zend\Mime\selfsetId(string $id) : \Zend\Mime\self
string
\Zend\Mime\selfsetIsStream(bool $isStream) : \Zend\Mime\self
bool
\Zend\Mime\selfsetLanguage(string $language) : \Zend\Mime\self
string
\Zend\Mime\selfsetLocation(string $location) : \Zend\Mime\self
string
\Zend\Mime\selfsetType(string $type) : \Zend\Mime\self
string
\Zend\Mime\self$boundary
$charset
$description
$disposition
$encoding
$filename
$id
$language
$location
$type
$content
$filters
$isStream