TYPO3  7.6
Public Member Functions | List of all members
Swift_Mailer_RecipientIterator Interface Reference
Inheritance diagram for Swift_Mailer_RecipientIterator:
Swift_Mailer_ArrayRecipientIterator

Public Member Functions

 hasNext ()
 
 nextRecipient ()
 

Detailed Description

Provides an abstract way of specifying recipients for batch sending.

Author
Chris Corbyn

Definition at line 16 of file RecipientIterator.php.

Member Function Documentation

hasNext ( )

Returns true only if there are more recipients to send to.

Returns
bool

Implemented in Swift_Mailer_ArrayRecipientIterator.

nextRecipient ( )

Returns an array where the keys are the addresses of recipients and the values are the names. e.g. ('foo' => 'Foo') or ('foo' => NULL).

Returns
array

Implemented in Swift_Mailer_ArrayRecipientIterator.