TYPO3
7.6
|
Static Public Member Functions | |
static | newInstance ($data=null, $filename=null, $contentType=null) |
static | fromPath ($path) |
Additional Inherited Members | |
Public Attributes inherited from Swift_Mime_MimeEntity | |
const | LEVEL_TOP = 16 |
const | LEVEL_MIXED = 256 |
const | LEVEL_ALTERNATIVE = 4096 |
const | LEVEL_RELATED = 65536 |
Protected Member Functions inherited from Swift_Mime_SimpleMimeEntity | |
_bodyToString () | |
_bodyToByteStream (Swift_InputByteStream $is) | |
_getIdField () | |
_getHeaderFieldModel ($field) | |
_setHeaderFieldModel ($field, $model) | |
_getHeaderParameter ($field, $parameter) | |
_setHeaderParameter ($field, $parameter, $value) | |
_fixHeaders () | |
_getCache () | |
_getGrammar () | |
_clearCache () | |
getRandomId () | |
Protected Attributes inherited from Swift_Mime_SimpleMimeEntity | |
$_userContentType | |
An embedded file, in a multipart message.
Definition at line 16 of file EmbeddedFile.php.
__construct | ( | $data = null , |
|
$filename = null , |
|||
$contentType = null |
|||
) |
Create a new EmbeddedFile.
Details may be optionally provided to the constructor.
string | Swift_OutputByteStream | $data | |
string | $filename | |
string | $contentType |
Definition at line 27 of file EmbeddedFile.php.
References $filename, Swift_DependencyContainer\getInstance(), Swift_Mime_SimpleMimeEntity\setBody(), Swift_Mime_SimpleMimeEntity\setContentType(), and Swift_Mime_Attachment\setFilename().
|
static |
Create a new EmbeddedFile from a filesystem path.
string | $path |
Definition at line 63 of file EmbeddedFile.php.
|
static |
Create a new EmbeddedFile.
string | Swift_OutputByteStream | $data | |
string | $filename | |
string | $contentType |
Definition at line 51 of file EmbeddedFile.php.
References $filename.