PHP Класс Swift_Transport_SpoolTransport, Halite

Автор: Fabien Potencier
Наследование: implements Swift_Transport
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Swift_Events_EventDispatcher $eventDispatcher, Swift_Spool $spool = null ) Constructor.
getSpool ( ) : Swift_Spool Get the spool object.
isStarted ( ) : boolean Tests if this Transport mechanism has started.
registerPlugin ( Swift_Events_EventListener $plugin ) Register a plugin.
send ( Swift_Mime_Message $message, string[] &$failedRecipients = null ) : integer Sends the given message.
setSpool ( Swift_Spool $spool ) : Swift_Transport_SpoolTransport Sets the spool object.
start ( ) Starts this Transport mechanism.
stop ( ) Stops this Transport mechanism.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( Swift_Events_EventDispatcher $eventDispatcher, Swift_Spool $spool = null )
$eventDispatcher Swift_Events_EventDispatcher
$spool Swift_Spool

getSpool() публичный Метод

Get the spool object.
public getSpool ( ) : Swift_Spool
Результат Swift_Spool

isStarted() публичный Метод

Tests if this Transport mechanism has started.
public isStarted ( ) : boolean
Результат boolean

registerPlugin() публичный Метод

Register a plugin.
public registerPlugin ( Swift_Events_EventListener $plugin )
$plugin Swift_Events_EventListener

send() публичный Метод

Sends the given message.
public send ( Swift_Mime_Message $message, string[] &$failedRecipients = null ) : integer
$message Swift_Mime_Message
$failedRecipients string[] An array of failures by-reference
Результат integer The number of sent e-mail's

setSpool() публичный Метод

Sets the spool object.
public setSpool ( Swift_Spool $spool ) : Swift_Transport_SpoolTransport
$spool Swift_Spool
Результат Swift_Transport_SpoolTransport

start() публичный Метод

Starts this Transport mechanism.
public start ( )

stop() публичный Метод

Stops this Transport mechanism.
public stop ( )