XOOPS RMCommon Utilities
2.1.8.91RC
|
Static Public Member Functions | |
static | fromPath ($path, $contentType=null) |
static | newInstance ($data=null, $filename=null, $contentType=null) |
Additional Inherited Members | |
Public Attributes inherited from Swift_Mime_MimeEntity | |
const | LEVEL_ALTERNATIVE = 4096 |
const | LEVEL_MIXED = 256 |
const | LEVEL_RELATED = 65536 |
const | LEVEL_TOP = 16 |
Protected Member Functions inherited from Swift_Mime_SimpleMimeEntity | |
_clearCache () | |
_fixHeaders () | |
_getCache () | |
_getHeaderFieldModel ($field) | |
_getHeaderParameter ($field, $parameter) | |
_getIdField () | |
_setHeaderFieldModel ($field, $model) | |
_setHeaderParameter ($field, $parameter, $value) | |
getRandomId () | |
Protected Attributes inherited from Swift_Mime_SimpleMimeEntity | |
$_userContentType | |
Definition at line 21 of file Attachment.php.
Swift_Attachment::__construct | ( | $data = null , |
|
$filename = null , |
|||
$contentType = null |
|||
) |
Create a new Attachment. Details may be optionally provided to the constructor.
string | Swift_OutputByteStream | $data | |
string | $filename | |
string | $contentType |
Definition at line 31 of file Attachment.php.
References $data, Swift_DependencyContainer\getInstance(), Swift_Mime_SimpleMimeEntity\setBody(), Swift_Mime_SimpleMimeEntity\setContentType(), and Swift_Mime_Attachment\setFilename().
|
static |
Create a new Attachment from a filesystem path.
string | $path | |
string | $contentType | optional |
Definition at line 67 of file Attachment.php.
References $path.
Referenced by RMMailer\attach_content().
|
static |
Create a new Attachment.
string | Swift_OutputByteStream | $data | |
string | $filename | |
string | $contentType |
Definition at line 55 of file Attachment.php.
References $data.
Referenced by RMMailer\attach_content().