Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: Swift_Mailer_ArrayRecipientIterator

Source Location: /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer/ArrayRecipientIterator.php

Class Overview


Wraps a standard PHP array in an iterator.


Author(s):

  • Chris Corbyn

Implements interfaces:

Methods



Class Details

[line 16]
Wraps a standard PHP array in an iterator.



Tags:

author:  Chris Corbyn


[ Top ]


Class Methods


constructor __construct [line 30]

Swift_Mailer_ArrayRecipientIterator __construct( $recipients)

Create a new ArrayRecipientIterator from $recipients.



Tags:

access:  public


Parameters:

array   $recipients  

[ Top ]

method hasNext [line 40]

bool hasNext( )

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



Tags:

access:  public



Implementation of:
Swift_Mailer_RecipientIterator::hasNext()
Returns true only if there are more recipients to send to.
[ Top ]

method nextRecipient [line 51]

array 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).



Tags:

access:  public



Implementation of:
Swift_Mailer_RecipientIterator::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).
[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:43:49 +0000 by phpDocumentor 1.4.3