Class Swift_Attachment
Attachment class for attaching files to a Swift_Mime_Message
.
- Swift_Mime_SimpleMimeEntity implements Swift_Mime_MimeEntity
- Swift_Mime_Attachment
- Swift_Attachment
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Attachment.php
Methods summary
public
|
#
__construct( string|
Create a new Attachment. Details may be optionally provided to the constructor. |
public static
|
#
newInstance( string|
Create a new Attachment. |
public static
|
#
fromPath( string $path, string $contentType = null )
Create a new Attachment from a filesystem path. |
Methods inherited from Swift_Mime_Attachment
getDisposition()
,
getFilename()
,
getNestingLevel()
,
getSize()
,
setDisposition()
,
setFile()
,
setFilename()
,
setSize()
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