![]() |
TYPO3
7.6
|
Public Member Functions | |
| __construct (array $recipients) | |
| hasNext () | |
| nextRecipient () | |
Private Attributes | |
| $_recipients = array() | |
Wraps a standard PHP array in an iterator.
Definition at line 16 of file ArrayRecipientIterator.php.
| __construct | ( | array | $recipients | ) |
Create a new ArrayRecipientIterator from $recipients.
| array | $recipients |
Definition at line 30 of file ArrayRecipientIterator.php.
| hasNext | ( | ) |
Returns true only if there are more recipients to send to.
Implements Swift_Mailer_RecipientIterator.
Definition at line 40 of file ArrayRecipientIterator.php.
| 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 51 of file ArrayRecipientIterator.php.
|
private |
Definition at line 23 of file ArrayRecipientIterator.php.
1.8.3