Method | Description | |
---|---|---|
getBody ( ) : string | null | Get the body content of this entity as a string. | |
getChildren ( ) : Swift_Mime_MimeEntity[] | Get all children nested inside this entity. | |
getContentType ( ) : string | Get the qualified content-type of this mime entity. | |
getHeaders ( ) : Swift_Mime_HeaderSet | Get the collection of Headers in this Mime entity. | |
getId ( ) : string | Returns a unique ID for this entity. | |
getNestingLevel ( ) : integer | Get the level at which this entity shall be nested in final document. | |
setBody ( string $body, string $contentType = null ) | Set the body content of this entity as a string. | |
setChildren ( array $children ) | Set all children nested inside this entity. | |
toByteStream ( Swift_InputByteStream $is ) | Get this entire entity as a ByteStream. | |
toString ( ) : string | Get this entire entity in its string form. |
public getChildren ( ) : Swift_Mime_MimeEntity[] | ||
return | Swift_Mime_MimeEntity[] |
public getContentType ( ) : string | ||
return | string |
public getHeaders ( ) : Swift_Mime_HeaderSet | ||
return | Swift_Mime_HeaderSet |
public getNestingLevel ( ) : integer | ||
return | integer |
public setChildren ( array $children ) | ||
$children | array |
public toByteStream ( Swift_InputByteStream $is ) | ||
$is | Swift_InputByteStream | to write to |