TYPO3
7.6
|
Public Member Functions | |
__construct (Swift_Events_EventDispatcher $eventDispatcher, Swift_Spool $spool=null) | |
setSpool (Swift_Spool $spool) | |
getSpool () | |
isStarted () | |
start () | |
stop () | |
send (Swift_Mime_Message $message, &$failedRecipients=null) | |
registerPlugin (Swift_Events_EventListener $plugin) | |
Private Attributes | |
$_spool | |
$_eventDispatcher | |
Stores Messages in a queue.
Definition at line 16 of file Transport/SpoolTransport.php.
__construct | ( | Swift_Events_EventDispatcher | $eventDispatcher, |
Swift_Spool | $spool = null |
||
) |
Constructor.
Definition at line 27 of file Transport/SpoolTransport.php.
getSpool | ( | ) |
Get the spool object.
Definition at line 52 of file Transport/SpoolTransport.php.
References $_spool.
isStarted | ( | ) |
Tests if this Transport mechanism has started.
Implements Swift_Transport.
Definition at line 62 of file Transport/SpoolTransport.php.
registerPlugin | ( | Swift_Events_EventListener | $plugin | ) |
Register a plugin.
Swift_Events_EventListener | $plugin |
Implements Swift_Transport.
Definition at line 113 of file Transport/SpoolTransport.php.
send | ( | Swift_Mime_Message | $message, |
& | $failedRecipients = null |
||
) |
Sends the given message.
Swift_Mime_Message | $message | |
string[] | $failedRecipients An array of failures by-reference |
Implements Swift_Transport.
Definition at line 89 of file Transport/SpoolTransport.php.
References Swift_Events_SendEvent\RESULT_FAILED, and Swift_Events_SendEvent\RESULT_SPOOLED.
setSpool | ( | Swift_Spool | $spool | ) |
Sets the spool object.
Swift_Spool | $spool |
Definition at line 40 of file Transport/SpoolTransport.php.
start | ( | ) |
Starts this Transport mechanism.
Implements Swift_Transport.
Definition at line 70 of file Transport/SpoolTransport.php.
stop | ( | ) |
Stops this Transport mechanism.
Implements Swift_Transport.
Definition at line 77 of file Transport/SpoolTransport.php.
|
private |
The event dispatcher from the plugin API
Definition at line 22 of file Transport/SpoolTransport.php.
|
private |
The spool instance
Definition at line 19 of file Transport/SpoolTransport.php.
Referenced by getSpool().