__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
mixed
String or Stream containing the content
\Zend\Mime\Exception\InvalidArgumentException |
---|
getBoundary() : string
string
getCharset() : string
string
getContent(string $EOL) : string
string
string
getDescription() : string
string
getDisposition() : string
string
getEncodedStream(string $EOL) : resource
very useful for large file attachments.
string
\Zend\Mime\Exception\RuntimeException |
if not a stream or unable to append filter |
---|
resource
getEncoding() : string
string
getFileName() : string
string
getFilters() : array
array
getHeaders(string $EOL) : String
string
String
getHeadersArray(string $EOL) : array
access | public |
---|
string
array
getId() : string
string
getIsStream() : bool
bool
getLanguage() : string
string
getLocation() : string
string
getRawContent() : string
string
getType() : 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
setBoundary(string $boundary) : \Zend\Mime\self
string
\Zend\Mime\self
setCharset($charset) : \Zend\Mime\self
\Zend\Mime\self
setContent(mixed $content) : \Zend\Mime\self
mixed
String or Stream containing the content
\Zend\Mime\Exception\InvalidArgumentException |
---|
\Zend\Mime\self
setDescription(string $description) : \Zend\Mime\self
string
\Zend\Mime\self
setDisposition(string $disposition) : \Zend\Mime\self
string
\Zend\Mime\self
setEncoding(string $encoding) : \Zend\Mime\self
string
\Zend\Mime\self
setFileName(string $fileName) : \Zend\Mime\self
string
\Zend\Mime\self
setFilters(array $filters) : \Zend\Mime\self
array
\Zend\Mime\self
setId(string $id) : \Zend\Mime\self
string
\Zend\Mime\self
setIsStream(bool $isStream) : \Zend\Mime\self
bool
\Zend\Mime\self
setLanguage(string $language) : \Zend\Mime\self
string
\Zend\Mime\self
setLocation(string $location) : \Zend\Mime\self
string
\Zend\Mime\self
setType(string $type) : \Zend\Mime\self
string
\Zend\Mime\self
$boundary
$charset
$description
$disposition
$encoding
$filename
$id
$language
$location
$type
$content
$filters
$isStream