Class Swift_Plugins_DecoratorPlugin
Allows customization of Messages on-the-fly.
- Swift_Plugins_DecoratorPlugin implements Swift_Events_SendListener, Swift_Plugins_Decorator_Replacements
Package: Swift\Plugins
Author: Chris Corbyn
Author: Fabien Potencier
Located at classes/swiftmailer/lib/classes/Swift/Plugins/DecoratorPlugin.php
Author: Chris Corbyn
Author: Fabien Potencier
Located at classes/swiftmailer/lib/classes/Swift/Plugins/DecoratorPlugin.php
public
|
|
public
|
|
public
|
#
beforeSendPerformed(
Invoked immediately before the Message is sent. |
public
array
|
|
public
|
|
private
|
#
_restoreMessage(
Restore a changed message back to its original state |
private
|
$_replacements
The replacement map |
|
private
|
$_originalBody
The body as it was before replacements |
|
private
array
|
$_originalHeaders
The original headers of the message, before replacements |
#
array()
|
private
array
|
$_originalChildBodies
Bodies of children before they are replaced |
#
array()
|
private
|
$_lastMessage
The Message that was last replaced |