A MIME entity, such as an attachment.
| package | Swift |
|---|---|
| subpackage | Mime |
| author | Chris Corbyn |
charsetChanged(string $charset)
| inherited_from | \Swift_Mime_CharsetObserver::charsetChanged() |
|---|
string
getBody() : string
Returns NULL if no body has been set.
stringgetContentType() : string
stringgetId() : string
For most entities this will likely be the Content-ID, though it has no explicit semantic meaning and can be considered an identifier for programming logic purposes. If a Content-ID header is present, this value SHOULD match the value of the header.
stringgetNestingLevel() : int
The lower the value, the more outermost the entity will be nested.
| see | LEVEL_MIXED, LEVEL_RELATED, LEVEL_ALTERNATIVE |
|---|
intsetBody(string $body, string $contentType)
string
stringoptional
setChildren(array $children)
toByteStream(\Swift_InputByteStream $is)
toString() : string
stringLEVEL_ALTERNATIVE
LEVEL_MIXED
LEVEL_RELATED
LEVEL_TOP