Class Swift_Image
An image, embedded in a multipart message.
-
Swift_Mime_SimpleMimeEntity
implements
Swift_Mime_MimeEntity
-
Swift_Mime_Attachment
-
Swift_Mime_EmbeddedFile
-
Swift_EmbeddedFile
-
Swift_Image
Methods summary
public
|
#
__construct( string|Swift_OutputByteStream $data = null, string $filename = null, string $contentType = null )
Create a new EmbeddedFile.
Details may be optionally provided to the constructor.
Create a new EmbeddedFile.
Details may be optionally provided to the constructor.
Parameters
- $data
- $filename
- $contentType
Overrides
|
public static
Swift_Mime_EmbeddedFile
|
#
newInstance( string|Swift_OutputByteStream $data = null, string $filename = null, string $contentType = null )
Create a new Image.
Parameters
- $data
- $filename
- $contentType
Returns
Overrides
|
public static
Swift_Mime_EmbeddedFile
|
#
fromPath( string $path )
Create a new Image from a filesystem path.
Create a new Image from a filesystem path.
Parameters
Returns
Overrides
|
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()
|