XOOPS RMCommon Utilities
2.1.8.91RC
|
Protected Member Functions | |
_fixHeaders () | |
_setNestingLevel ($level) | |
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 | |
$_userCharset | |
$_userDelSp | |
$_userFormat | |
Protected Attributes inherited from Swift_Mime_SimpleMimeEntity | |
$_userContentType | |
Private Attributes | |
$_nestingLevel = self::LEVEL_ALTERNATIVE | |
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 |
Definition at line 23 of file MimePart.php.
Swift_Mime_MimePart::__construct | ( | Swift_Mime_HeaderSet | $headers, |
Swift_Mime_ContentEncoder | $encoder, | ||
Swift_KeyCache | $cache, | ||
$charset = null |
|||
) |
Create a new MimePart with $headers, $encoder and $cache.
Swift_Mime_HeaderSet | $headers | |
Swift_Mime_ContentEncoder | $encoder | |
Swift_KeyCache | $cache | |
string | $charset |
Definition at line 46 of file MimePart.php.
References __construct(), setCharset(), and Swift_Mime_SimpleMimeEntity\setContentType().
|
protected |
Fix the content-type and encoding of this entity
Definition at line 173 of file MimePart.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderParameter(), Swift_Mime_SimpleMimeEntity\getChildren(), setCharset(), setDelSp(), and setFormat().
|
protected |
Set the nesting level of this entity
Definition at line 191 of file MimePart.php.
Swift_Mime_MimePart::charsetChanged | ( | $charset | ) |
Receive notification that the charset has changed on this document, or a parent document.
string | $charset |
Implements Swift_Mime_CharsetObserver.
Definition at line 165 of file MimePart.php.
References setCharset().
Swift_Mime_MimePart::getCharset | ( | ) |
Get the character set of this entity.
Definition at line 80 of file MimePart.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderParameter().
Swift_Mime_MimePart::getDelSp | ( | ) |
Test if delsp is being used for this entity.
Definition at line 129 of file MimePart.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderParameter().
Swift_Mime_MimePart::getFormat | ( | ) |
Get the format of this entity (i.e. flowed or fixed).
Definition at line 107 of file MimePart.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderParameter().
Swift_Mime_MimePart::getNestingLevel | ( | ) |
Get the nesting level of this entity.
Implements Swift_Mime_MimeEntity.
Definition at line 154 of file MimePart.php.
References $_nestingLevel.
Swift_Mime_MimePart::setBody | ( | $body, | |
$contentType = null , |
|||
$charset = null |
|||
) |
Set the body of this entity, either as a string, or as an instance of Swift_OutputByteStream.
mixed | $body | |
string | $contentType | optional |
string | $charset | optional |
Definition at line 65 of file MimePart.php.
References setCharset().
Referenced by Swift_MimePart\__construct(), and Swift_Message\__construct().
Swift_Mime_MimePart::setCharset | ( | $charset | ) |
Set the character set of this entity.
string | $charset |
Definition at line 90 of file MimePart.php.
References Swift_Mime_SimpleMimeEntity\_clearCache(), and Swift_Mime_SimpleMimeEntity\_setHeaderParameter().
Referenced by Swift_MimePart\__construct(), Swift_Message\__construct(), __construct(), _fixHeaders(), charsetChanged(), and setBody().
Swift_Mime_MimePart::setDelSp | ( | $delsp = true | ) |
Turn delsp on or off for this entity.
boolean | $delsp |
Definition at line 141 of file MimePart.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderParameter().
Referenced by _fixHeaders().
Swift_Mime_MimePart::setFormat | ( | $format | ) |
Set the format of this entity (flowed or fixed).
string | $format |
Definition at line 117 of file MimePart.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderParameter().
Referenced by _fixHeaders().
|
private |
The nesting level of this MimePart
Definition at line 36 of file MimePart.php.
Referenced by getNestingLevel().
|
protected |
The charset last specified by the user
Definition at line 30 of file MimePart.php.
|
protected |
The delsp parameter last specified by the user
Definition at line 33 of file MimePart.php.
|
protected |
The format parameter last specified by the user
Definition at line 27 of file MimePart.php.