PHP Класс Swift_Mailer_ArrayRecipientIterator, Halite

Автор: Chris Corbyn
Наследование: implements Swift_Mailer_RecipientIterator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( array $recipients ) Create a new ArrayRecipientIterator from $recipients.
hasNext ( ) : boolean Returns true only if there are more recipients to send to.
nextRecipient ( ) : array Returns an array where the keys are the addresses of recipients and the values are the names. e.g. ('foo@bar' => 'Foo') or ('foo@bar' => NULL).

Описание методов

__construct() публичный Метод

Create a new ArrayRecipientIterator from $recipients.
public __construct ( array $recipients )
$recipients array

hasNext() публичный Метод

Returns true only if there are more recipients to send to.
public hasNext ( ) : boolean
Результат boolean

nextRecipient() публичный Метод

Returns an array where the keys are the addresses of recipients and the values are the names. e.g. ('foo@bar' => 'Foo') or ('foo@bar' => NULL).
public nextRecipient ( ) : array
Результат array