PHP Interface Swift_Transport, Halite

Author: Chris Corbyn
Afficher le fichier Open project: HaliteChallenge/Halite Interface Usage Examples

Méthodes publiques

Méthode Description
isStarted ( ) : boolean Test if this Transport mechanism has started.
registerPlugin ( Swift_Events_EventListener $plugin ) Register a plugin in the Transport.
send ( Swift_Mime_Message $message, string[] &$failedRecipients = null ) : integer Send the given Message.
start ( ) Start this Transport mechanism.
stop ( ) Stop this Transport mechanism.

Method Details

isStarted() public méthode

Test if this Transport mechanism has started.
public isStarted ( ) : boolean
Résultat boolean

registerPlugin() public méthode

Register a plugin in the Transport.
public registerPlugin ( Swift_Events_EventListener $plugin )
$plugin Swift_Events_EventListener

send() public méthode

Recipient/sender data will be retrieved from the Message API. The return value is the number of recipients who were accepted for delivery.
public send ( Swift_Mime_Message $message, string[] &$failedRecipients = null ) : integer
$message Swift_Mime_Message
$failedRecipients string[] An array of failures by-reference
Résultat integer

start() public méthode

Start this Transport mechanism.
public start ( )

stop() public méthode

Stop this Transport mechanism.
public stop ( )