|
XOOPS RMCommon Utilities
2.1.8.91RC
|

Private Attributes | |
| $_mimeTypes = array() | |
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 23 of file Attachment.php.
| Swift_Mime_Attachment::__construct | ( | Swift_Mime_HeaderSet | $headers, |
| Swift_Mime_ContentEncoder | $encoder, | ||
| Swift_KeyCache | $cache, | ||
$mimeTypes = array() |
|||
| ) |
Create a new Attachment with $headers, $encoder and $cache.
| Swift_Mime_HeaderSet | $headers | |
| Swift_Mime_ContentEncoder | $encoder | |
| Swift_KeyCache | $cache | |
| array | $mimeTypes | optional |
Definition at line 36 of file Attachment.php.
References __construct(), Swift_Mime_SimpleMimeEntity\setContentType(), and setDisposition().

| Swift_Mime_Attachment::getDisposition | ( | ) |
Get the Content-Disposition of this attachment. By default attachments have a disposition of "attachment".
Definition at line 61 of file Attachment.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderFieldModel().

| Swift_Mime_Attachment::getFilename | ( | ) |
Get the filename of this attachment when downloaded.
Definition at line 85 of file Attachment.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderParameter().

| Swift_Mime_Attachment::getNestingLevel | ( | ) |
Get the nesting level used for this attachment. Always returns LEVEL_MIXED.
Implements Swift_Mime_MimeEntity.
Definition at line 51 of file Attachment.php.
| Swift_Mime_Attachment::getSize | ( | ) |
Get the file size of this attachment.
Definition at line 105 of file Attachment.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderParameter().

| Swift_Mime_Attachment::setDisposition | ( | $disposition | ) |
Set the Content-Disposition of this attachment.
| string | $disposition |
Definition at line 70 of file Attachment.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderFieldModel(), and Swift_Mime_SimpleMimeEntity\getHeaders().
Referenced by Swift_Mime_EmbeddedFile\__construct(), and __construct().


| Swift_Mime_Attachment::setFile | ( | Swift_FileStream | $file, |
$contentType = null |
|||
| ) |
Set the file that this attachment is for.
| Swift_FileStream | $file | |
| string | $contentType | optional |
Definition at line 125 of file Attachment.php.
References Swift_FileStream\getPath(), Swift_Mime_SimpleMimeEntity\setBody(), Swift_Mime_SimpleMimeEntity\setContentType(), and setFilename().

| Swift_Mime_Attachment::setFilename | ( | $filename | ) |
Set the filename of this attachment.
| string | $filename |
Definition at line 94 of file Attachment.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderParameter().
Referenced by Swift_Attachment\__construct(), Swift_EmbeddedFile\__construct(), and setFile().


| Swift_Mime_Attachment::setSize | ( | $size | ) |
Set the file size of this attachment.
| int | $size |
Definition at line 114 of file Attachment.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderParameter().

|
private |
Recognized MIME types
Definition at line 27 of file Attachment.php.