XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct (array $recipients) | |
hasNext () | |
nextRecipient () | |
Private Attributes | |
$_recipients = array() | |
Definition at line 19 of file ArrayRecipientIterator.php.
Swift_Mailer_ArrayRecipientIterator::__construct | ( | array | $recipients | ) |
Create a new ArrayRecipientIterator from $recipients.
array | $recipients |
Definition at line 34 of file ArrayRecipientIterator.php.
Swift_Mailer_ArrayRecipientIterator::hasNext | ( | ) |
Returns true only if there are more recipients to send to.
Implements Swift_Mailer_RecipientIterator.
Definition at line 43 of file ArrayRecipientIterator.php.
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)
Implements Swift_Mailer_RecipientIterator.
Definition at line 54 of file ArrayRecipientIterator.php.
|
private |
Definition at line 28 of file ArrayRecipientIterator.php.