Public Member Functions | ||||
__construct () | ||||
setBoundary ($boundary) | ||||
| ||||
getBoundary () | ||||
getContentId () | ||||
setContentId ($id) | ||||
| ||||
getContentType () | ||||
setContentType ($type) | ||||
| ||||
getEncoding () | ||||
| ||||
setEncoding (MailEncoding $encoding) | ||||
| ||||
getCharset () | ||||
setCharset ($charset) | ||||
| ||||
getFilename () | ||||
setFilename ($name) | ||||
| ||||
getDescription () | ||||
setDescription ($description) | ||||
| ||||
loadBodyFromFile ($path) | ||||
| ||||
setBody ($body) | ||||
| ||||
getBody () | ||||
addSubPart (MimePart $part) | ||||
| ||||
setInline ($inline=true) | ||||
| ||||
getEncodedBody () | ||||
returns encoded body as string | ||||
getHeaders () | ||||
returns all related headers as string | ||||
Static Public Member Functions | ||||
static | create () | |||
| ||||
Private Attributes | ||||
$contentId = null | ||||
$contentType = null | ||||
$boundary = null | ||||
$encoding = null | ||||
$charset = null | ||||
$filename = null | ||||
$description = null | ||||
$body = null | ||||
$inline = false | ||||
$parts = array() |
Definition at line 18 of file MimePart.class.php.
MimePart::__construct | ( | ) |
Definition at line 45 of file MimePart.class.php.
References MailEncoding::seven().
static MimePart::create | ( | ) | [static] |
MimePart::setBoundary | ( | $ | boundary | ) |
MimePart::getBoundary | ( | ) |
Definition at line 63 of file MimePart.class.php.
MimePart::getContentId | ( | ) |
Definition at line 68 of file MimePart.class.php.
MimePart::setContentId | ( | $ | id | ) |
MimePart::getContentType | ( | ) |
Definition at line 83 of file MimePart.class.php.
MimePart::setContentType | ( | $ | type | ) |
MimePart::getEncoding | ( | ) |
MimePart::setEncoding | ( | MailEncoding $ | encoding | ) |
MimePart::getCharset | ( | ) |
Definition at line 116 of file MimePart.class.php.
MimePart::setCharset | ( | $ | charset | ) |
MimePart::getFilename | ( | ) |
Definition at line 131 of file MimePart.class.php.
MimePart::setFilename | ( | $ | name | ) |
MimePart::getDescription | ( | ) |
Definition at line 146 of file MimePart.class.php.
MimePart::setDescription | ( | $ | description | ) |
MimePart::loadBodyFromFile | ( | $ | path | ) |
WrongArgumentException |
Definition at line 165 of file MimePart.class.php.
References Assert::isTrue().
MimePart::setBody | ( | $ | body | ) |
MimePart::getBody | ( | ) |
Definition at line 184 of file MimePart.class.php.
MimePart::addSubPart | ( | MimePart $ | part | ) |
MimePart::setInline | ( | $ | inline = true |
) |
MimePart::getEncodedBody | ( | ) |
returns encoded body as string
Implements MailBuilder.
Definition at line 209 of file MimePart.class.php.
References $body, MailEncoding::BASE64, MailEncoding::EIGHT_BITS, MailEncoding::QUOTED, and MailEncoding::SEVEN_BITS.
MimePart::getHeaders | ( | ) |
returns all related headers as string
Implements MailBuilder.
Definition at line 262 of file MimePart.class.php.
MimePart::$contentId = null [private] |
Definition at line 20 of file MimePart.class.php.
MimePart::$contentType = null [private] |
Definition at line 21 of file MimePart.class.php.
MimePart::$boundary = null [private] |
MimePart::$encoding = null [private] |
Definition at line 24 of file MimePart.class.php.
MimePart::$charset = null [private] |
MimePart::$filename = null [private] |
Definition at line 27 of file MimePart.class.php.
MimePart::$description = null [private] |
MimePart::$body = null [private] |
MimePart::$inline = false [private] |
MimePart::$parts = array() [private] |
Definition at line 35 of file MimePart.class.php.