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

Class: Swift_MemorySpool

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

Class Overview


Stores Messages in memory.


Author(s):

  • Fabien Potencier

Implements interfaces:

Variables

Methods



Class Details

[line 16]
Stores Messages in memory.



Tags:

author:  Fabien Potencier


[ Top ]


Class Variables

$messages = array()

[line 18]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


method flushQueue [line 76]

int flushQueue( Swift_Transport $transport, [ &$failedRecipients = null], string[] $failedRecipients)

Sends messages using the given transport instance.



Tags:

return:  The number of sent emails
access:  public



Implementation of:
Swift_Spool::flushQueue()
Sends messages using the given transport instance.

Parameters:

Swift_Transport   $transport   A transport instance
string[]   $failedRecipients   An array of failures by-reference
   &$failedRecipients  

[ Top ]

method isStarted [line 26]

bool isStarted( )

Tests if this Transport mechanism has started.



Tags:

access:  public



Implementation of:
Swift_Spool::isStarted()
Tests if this Spool mechanism has started.
[ Top ]

method queueMessage [line 60]

bool queueMessage( Swift_Mime_Message $message)

Stores a message in the queue.



Tags:

return:  Whether the operation has succeeded
access:  public



Implementation of:
Swift_Spool::queueMessage()
Queues a message.

Parameters:

Swift_Mime_Message   $message   The message to store

[ Top ]

method setFlushRetries [line 48]

void setFlushRetries( int $retries)



Tags:

access:  public


Parameters:

int   $retries  

[ Top ]

method start [line 34]

void start( )

Starts this Transport mechanism.



Tags:

access:  public



Implementation of:
Swift_Spool::start()
Starts this Spool mechanism.
[ Top ]

method stop [line 41]

void stop( )

Stops this Transport mechanism.



Tags:

access:  public



Implementation of:
Swift_Spool::stop()
Stops this Spool mechanism.
[ Top ]


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