TYPO3  7.6
Public Member Functions | Private Attributes | List of all members
Swift_Plugins_ImpersonatePlugin Class Reference
Inheritance diagram for Swift_Plugins_ImpersonatePlugin:
Swift_Events_SendListener Swift_Events_EventListener

Public Member Functions

 __construct ($sender)
 
 beforeSendPerformed (Swift_Events_SendEvent $evt)
 
 sendPerformed (Swift_Events_SendEvent $evt)
 

Private Attributes

 $_sender
 

Detailed Description

Replaces the sender of a message.

Author
Arjen Brouwer

Definition at line 16 of file ImpersonatePlugin.php.

Constructor & Destructor Documentation

__construct (   $sender)

Create a new ImpersonatePlugin to impersonate $sender.

Parameters
string$senderaddress

Definition at line 30 of file ImpersonatePlugin.php.

Member Function Documentation

beforeSendPerformed ( Swift_Events_SendEvent  $evt)

Invoked immediately before the Message is sent.

Parameters
Swift_Events_SendEvent$evt

Implements Swift_Events_SendListener.

Definition at line 40 of file ImpersonatePlugin.php.

References Swift_Events_SendEvent\getMessage().

sendPerformed ( Swift_Events_SendEvent  $evt)

Invoked immediately after the Message is sent.

Parameters
Swift_Events_SendEvent$evt

Implements Swift_Events_SendListener.

Definition at line 57 of file ImpersonatePlugin.php.

References Swift_Events_SendEvent\getMessage().

Member Data Documentation

$_sender
private

Definition at line 23 of file ImpersonatePlugin.php.