PHP 클래스 Swift_Mailer_ArrayRecipientIterator, Halite

저자: Chris Corbyn
상속: implements Swift_Mailer_RecipientIterator
파일 보기 프로젝트 열기: HaliteChallenge/Halite 1 사용 예제들

공개 메소드들

메소드 설명
__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