Interface Swift_Mime_MimeEntity
A MIME entity, such as an attachment.
- Swift_Mime_MimeEntity implements Swift_Mime_CharsetObserver, Swift_Mime_EncodingObserver
Indirect known implementers
Swift_Attachment, Swift_EmbeddedFile, Swift_Image, Swift_Message, Swift_Mime_Attachment, Swift_Mime_EmbeddedFile, Swift_Mime_MimePart, Swift_Mime_SimpleMessage, Swift_MimePart
Package: Swift\Mime
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Mime/MimeEntity.php
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Mime/MimeEntity.php
public
integer
|
#
getNestingLevel( )
Get the level at which this entity shall be nested in final document. The lower the value, the more outermost the entity will be nested. |
public
string
|
|
public
string
|
|
public
|
#
getChildren( )
Get all children nested inside this entity. These are not just the immediate children, but all children. |
public
|
#
setChildren( array $children )
Set all children nested inside this entity. This includes grandchildren. |
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
charsetChanged()
|
encoderChanged()
|
integer |
LEVEL_TOP
Main message document; there can only be one of these |
#
16
|
integer |
LEVEL_MIXED
An entity which nests with the same precedence as an attachment |
#
256
|
integer |
LEVEL_ALTERNATIVE
An entity which nests with the same precedence as a mime part |
#
4096
|
integer |
LEVEL_RELATED
An entity which nests with the same precedence as embedded content |
#
65536
|