Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: Swift_Transport_NullTransport

Source Location: /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/NullTransport.php

Class Overview


Pretends messages have been sent, but just ignores them.


Author(s):

  • Fabien Potencier

Implements interfaces:

Methods


Child classes:

Swift_NullTransport
Pretends messages have been sent, but just ignores them.

Class Details

[line 16]
Pretends messages have been sent, but just ignores them.



Tags:

author:  Fabien Potencier


[ Top ]


Class Methods


constructor __construct [line 24]

Swift_Transport_NullTransport __construct( Swift_Events_EventDispatcher $eventDispatcher)

Constructor.



Tags:

access:  public


Overridden in child classes as:

Swift_NullTransport::__construct()
Create a new NullTransport.

Parameters:

Swift_Events_EventDispatcher   $eventDispatcher  

[ Top ]

method isStarted [line 34]

bool isStarted( )

Tests if this Transport mechanism has started.



Tags:

access:  public



Implementation of:
Swift_Transport::isStarted()
Test if this Transport mechanism has started.
[ Top ]

method registerPlugin [line 89]

void registerPlugin( Swift_Events_EventListener $plugin)

Register a plugin.



Tags:

access:  public



Implementation of:
Swift_Transport::registerPlugin()
Register a plugin in the Transport.

Parameters:

Swift_Events_EventListener   $plugin  

[ Top ]

method send [line 61]

int send( Swift_Mime_Message $message, [ &$failedRecipients = null], string[] $failedRecipients)

Sends the given message.



Tags:

return:  The number of sent emails
access:  public



Implementation of:
Swift_Transport::send()
Send the given Message.

Parameters:

Swift_Mime_Message   $message  
string[]   $failedRecipients   An array of failures by-reference
   &$failedRecipients  

[ Top ]

method start [line 42]

void start( )

Starts this Transport mechanism.



Tags:

access:  public



Implementation of:
Swift_Transport::start()
Start this Transport mechanism.
[ Top ]

method stop [line 49]

void stop( )

Stops this Transport mechanism.



Tags:

access:  public



Implementation of:
Swift_Transport::stop()
Stop this Transport mechanism.
[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:52:57 +0000 by phpDocumentor 1.4.3