XOOPS RMCommon Utilities
2.1.8.91RC
|
Protected Member Functions | |
_getIdField () | |
Protected Member Functions inherited from Swift_Mime_MimePart | |
_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 () | |
Private Member Functions | |
_becomeMimePart () | |
_getTopNestingLevel () | |
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 Attributes inherited from Swift_Mime_MimePart | |
$_userCharset | |
$_userDelSp | |
$_userFormat | |
Definition at line 23 of file SimpleMessage.php.
Swift_Mime_SimpleMessage::__construct | ( | Swift_Mime_HeaderSet | $headers, |
Swift_Mime_ContentEncoder | $encoder, | ||
Swift_KeyCache | $cache, | ||
$charset = null |
|||
) |
Create a new SimpleMessage with $headers, $encoder and $cache.
Swift_Mime_HeaderSet | $headers | |
Swift_Mime_ContentEncoder | $encoder | |
Swift_KeyCache | $cache | |
string | $charset |
Definition at line 34 of file SimpleMessage.php.
References __construct(), Swift_Mime_MimeEntity\getHeaders(), Swift_Mime_MimeEntity\getId(), setDate(), and Swift_Mime_SimpleMimeEntity\setId().
Swift_Mime_SimpleMessage::__toString | ( | ) |
Returns a string representation of this object.
Definition at line 547 of file SimpleMessage.php.
References toString().
|
private |
Turn the body of this message into a child of itself if needed
Definition at line 581 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_getCache(), _getTopNestingLevel(), Swift_Mime_MimeEntity\getBody(), Swift_Mime_SimpleMimeEntity\getEncoder(), and Swift_Mime_MimeEntity\getHeaders().
Referenced by toByteStream(), and toString().
|
protected |
Definition at line 573 of file SimpleMessage.php.
|
private |
Get the highest nesting level nested inside this message
Definition at line 595 of file SimpleMessage.php.
References Swift_Mime_MimeEntity\getChildren(), and getNestingLevel().
Referenced by _becomeMimePart().
Swift_Mime_SimpleMessage::addBcc | ( | $address, | |
$name = null |
|||
) |
Add a Bcc: address to this message.
If $name is passed this name will be associated with the address.
string | $address | |
string | $name | optional |
Definition at line 372 of file SimpleMessage.php.
References getBcc(), and setBcc().
Swift_Mime_SimpleMessage::addCc | ( | $address, | |
$name = null |
|||
) |
Add a Cc: address to this message.
If $name is passed this name will be associated with the address.
string | $address | |
string | $name | optional |
Definition at line 324 of file SimpleMessage.php.
References getCc(), and setCc().
Swift_Mime_SimpleMessage::addFrom | ( | $address, | |
$name = null |
|||
) |
Add a From: address to this message.
If $name is passed this name will be associated with the address.
string | $address | |
string | $name | optional |
Definition at line 174 of file SimpleMessage.php.
References getFrom(), and setFrom().
Swift_Mime_SimpleMessage::addReplyTo | ( | $address, | |
$name = null |
|||
) |
Add a Reply-To: address to this message.
If $name is passed this name will be associated with the address.
string | $address | |
string | $name | optional |
Definition at line 224 of file SimpleMessage.php.
References getReplyTo(), and setReplyTo().
Swift_Mime_SimpleMessage::addTo | ( | $address, | |
$name = null |
|||
) |
Add a To: address to this message.
If $name is passed this name will be associated with the address.
string | $address | |
string | $name | optional |
Definition at line 274 of file SimpleMessage.php.
References getTo(), and setTo().
Swift_Mime_SimpleMessage::attach | ( | Swift_Mime_MimeEntity | $entity | ) |
Attach a Swift_Mime_MimeEntity such as an Attachment or MimePart.
Swift_Mime_MimeEntity | $entity |
Definition at line 485 of file SimpleMessage.php.
References Swift_Mime_MimeEntity\getChildren(), and Swift_Mime_MimeEntity\setChildren().
Referenced by Swift_Message\addPart(), and embed().
Swift_Mime_SimpleMessage::detach | ( | Swift_Mime_MimeEntity | $entity | ) |
Remove an already attached entity.
Swift_Mime_MimeEntity | $entity |
Definition at line 495 of file SimpleMessage.php.
References Swift_Mime_MimeEntity\getChildren(), and Swift_Mime_MimeEntity\setChildren().
Swift_Mime_SimpleMessage::embed | ( | Swift_Mime_MimeEntity | $entity | ) |
Attach a Swift_Mime_MimeEntity and return it's CID source. This method should be used when embedding images or other data in a message.
Swift_Mime_MimeEntity | $entity |
Definition at line 515 of file SimpleMessage.php.
References attach(), and Swift_Mime_MimeEntity\getId().
Swift_Mime_SimpleMessage::getBcc | ( | ) |
Get the Bcc addresses of this message.
Implements Swift_Mime_Message.
Definition at line 407 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderFieldModel().
Referenced by addBcc().
Swift_Mime_SimpleMessage::getCc | ( | ) |
Get the Cc address of this message.
Implements Swift_Mime_Message.
Definition at line 359 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderFieldModel().
Referenced by addCc().
Swift_Mime_SimpleMessage::getDate | ( | ) |
Get the date at which this message was created.
Implements Swift_Mime_Message.
Definition at line 110 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderFieldModel().
Swift_Mime_SimpleMessage::getFrom | ( | ) |
Get the from address of this message.
Implements Swift_Mime_Message.
Definition at line 211 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderFieldModel().
Referenced by addFrom().
Swift_Mime_SimpleMessage::getNestingLevel | ( | ) |
Always returns LEVEL_TOP for a message instance.
Implements Swift_Mime_MimeEntity.
Definition at line 66 of file SimpleMessage.php.
Referenced by _getTopNestingLevel().
Swift_Mime_SimpleMessage::getPriority | ( | ) |
Get the priority of this message. The returned value is an integer where 1 is the highest priority and 5 is the lowest.
Definition at line 450 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderFieldModel().
Swift_Mime_SimpleMessage::getReadReceiptTo | ( | ) |
Get the addresses to which a read-receipt will be sent.
Definition at line 476 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderFieldModel().
Swift_Mime_SimpleMessage::getReplyTo | ( | ) |
Get the reply-to address of this message.
Implements Swift_Mime_Message.
Definition at line 261 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderFieldModel().
Referenced by addReplyTo().
Swift_Mime_SimpleMessage::getReturnPath | ( | ) |
Get the return-path (bounce address) of this message.
Implements Swift_Mime_Message.
Definition at line 132 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderFieldModel().
Swift_Mime_SimpleMessage::getSender | ( | ) |
Get the sender of this message.
Implements Swift_Mime_Message.
Definition at line 161 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderFieldModel().
Swift_Mime_SimpleMessage::getSubject | ( | ) |
Get the subject of this message.
Implements Swift_Mime_Message.
Definition at line 88 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderFieldModel().
Swift_Mime_SimpleMessage::getTo | ( | ) |
Get the To addresses of this message.
Implements Swift_Mime_Message.
Definition at line 311 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_getHeaderFieldModel().
Referenced by addTo().
Swift_Mime_SimpleMessage::setBcc | ( | $addresses, | |
$name = null |
|||
) |
Set the Bcc addresses of this message.
If $name is passed and the first parameter is a string, this name will be associated with the address.
array | $addresses | |
string | $name | optional |
Implements Swift_Mime_Message.
Definition at line 388 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderFieldModel(), and Swift_Mime_MimeEntity\getHeaders().
Referenced by addBcc().
Swift_Mime_SimpleMessage::setCc | ( | $addresses, | |
$name = null |
|||
) |
Set the Cc addresses of this message.
If $name is passed and the first parameter is a string, this name will be associated with the address.
array | $addresses | |
string | $name | optional |
Implements Swift_Mime_Message.
Definition at line 340 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderFieldModel(), and Swift_Mime_MimeEntity\getHeaders().
Referenced by addCc().
Swift_Mime_SimpleMessage::setDate | ( | $date | ) |
Set the date at which this message was created.
int | $date |
Implements Swift_Mime_Message.
Definition at line 97 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderFieldModel(), and Swift_Mime_MimeEntity\getHeaders().
Referenced by __construct().
Swift_Mime_SimpleMessage::setFrom | ( | $addresses, | |
$name = null |
|||
) |
Set the from address of this message.
You may pass an array of addresses if this message is from multiple people.
If $name is passed and the first parameter is a string, this name will be associated with the address.
string | $addresses | |
string | $name | optional |
Implements Swift_Mime_Message.
Definition at line 192 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderFieldModel(), and Swift_Mime_MimeEntity\getHeaders().
Referenced by addFrom().
Swift_Mime_SimpleMessage::setPriority | ( | $priority | ) |
Set the priority of this message. The value is an integer where 1 is the highest priority and 5 is the lowest.
int | $priority |
Definition at line 417 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderFieldModel(), elseif(), and Swift_Mime_MimeEntity\getHeaders().
Swift_Mime_SimpleMessage::setReadReceiptTo | ( | $addresses | ) |
Ask for a delivery receipt from the recipient to be sent to $addresses
array | $addresses |
Definition at line 462 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderFieldModel(), and Swift_Mime_MimeEntity\getHeaders().
Swift_Mime_SimpleMessage::setReplyTo | ( | $addresses, | |
$name = null |
|||
) |
Set the reply-to address of this message.
You may pass an array of addresses if replies will go to multiple people.
If $name is passed and the first parameter is a string, this name will be associated with the address.
string | $addresses | |
string | $name | optional |
Implements Swift_Mime_Message.
Definition at line 242 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderFieldModel(), and Swift_Mime_MimeEntity\getHeaders().
Referenced by addReplyTo().
Swift_Mime_SimpleMessage::setReturnPath | ( | $address | ) |
Set the return-path (the bounce address) of this message.
string | $address |
Implements Swift_Mime_Message.
Definition at line 119 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderFieldModel(), and Swift_Mime_MimeEntity\getHeaders().
Swift_Mime_SimpleMessage::setSender | ( | $address, | |
$name = null |
|||
) |
Set the sender of this message. This does not override the From field, but it has a higher significance.
string | $sender | |
string | $name | optional |
Implements Swift_Mime_Message.
Definition at line 143 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderFieldModel(), and Swift_Mime_MimeEntity\getHeaders().
Swift_Mime_SimpleMessage::setSubject | ( | $subject | ) |
Set the subject of this message.
string | $subject |
Implements Swift_Mime_Message.
Definition at line 75 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderFieldModel(), and Swift_Mime_MimeEntity\getHeaders().
Referenced by Swift_Message\__construct().
Swift_Mime_SimpleMessage::setTo | ( | $addresses, | |
$name = null |
|||
) |
Set the to addresses of this message.
If multiple recipients will receive the message and array should be used.
If $name is passed and the first parameter is a string, this name will be associated with the address.
array | $addresses | |
string | $name | optional |
Implements Swift_Mime_Message.
Definition at line 292 of file SimpleMessage.php.
References Swift_Mime_SimpleMimeEntity\_setHeaderFieldModel(), and Swift_Mime_MimeEntity\getHeaders().
Referenced by addTo().
Swift_Mime_SimpleMessage::toByteStream | ( | Swift_InputByteStream | $is | ) |
Write this message to a Swift_InputByteStream.
Swift_InputByteStream | $is |
Implements Swift_Mime_MimeEntity.
Definition at line 556 of file SimpleMessage.php.
References _becomeMimePart(), Swift_Mime_MimeEntity\getBody(), Swift_Mime_MimeEntity\getChildren(), and Swift_Mime_MimeEntity\setChildren().
Swift_Mime_SimpleMessage::toString | ( | ) |
Get this message as a complete string.
Implements Swift_Mime_MimeEntity.
Definition at line 525 of file SimpleMessage.php.
References _becomeMimePart(), Swift_Mime_MimeEntity\getBody(), Swift_Mime_MimeEntity\getChildren(), and Swift_Mime_MimeEntity\setChildren().
Referenced by __toString().