Class Swift_Mime_Attachment
An attachment, in a multipart message.
- Swift_Mime_SimpleMimeEntity implements Swift_Mime_MimeEntity
-
Swift_Mime_Attachment
Direct known subclasses
Indirect known subclasses
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/Attachment.php
Methods summary
public
|
#
__construct(
Create a new Attachment with $headers, $encoder and $cache. |
public
integer
|
#
getNestingLevel( )
Get the nesting level used for this attachment. Always returns |
public
string
|
#
getDisposition( )
Get the Content-Disposition of this attachment. By default attachments have a disposition of "attachment". |
public
|
|
public
string
|
|
public
|
|
public
integer
|
|
public
|
|
public
|
#
setFile(
Set the file that this attachment is for. |
Methods inherited from Swift_Mime_SimpleMimeEntity
__destruct(),
__toString(),
_clearCache(),
_fixHeaders(),
_getCache(),
_getGrammar(),
_getHeaderFieldModel(),
_getHeaderParameter(),
_getIdField(),
_setHeaderFieldModel(),
_setHeaderParameter(),
charsetChanged(),
encoderChanged(),
generateId(),
getBody(),
getBoundary(),
getChildren(),
getContentType(),
getDescription(),
getEncoder(),
getHeaders(),
getId(),
getMaxLineLength(),
getRandomId(),
setBody(),
setBoundary(),
setChildren(),
setContentType(),
setDescription(),
setEncoder(),
setId(),
setMaxLineLength(),
toByteStream(),
toString()
Magic methods summary
Constants summary
Constants inherited from Swift_Mime_MimeEntity
LEVEL_ALTERNATIVE,
LEVEL_MIXED,
LEVEL_RELATED,
LEVEL_TOP
Properties summary
private
array
|
$_mimeTypes |
#
Recognized MIME types |