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

Class: Swift_Mailer_ArrayRecipientIterator

Source Location: /vendors/swift/classes/Swift/Mailer/ArrayRecipientIterator.php

Class Overview


Wraps a standard PHP array in an interator.


Author(s):

  • Chris Corbyn

Implements interfaces:

Methods



Class Details

[line 19]
Wraps a standard PHP array in an interator.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


constructor __construct [line 34]

Swift_Mailer_ArrayRecipientIterator __construct( $recipients)

Create a new ArrayRecipientIterator from $recipients.



Tags:

access:  public


Parameters:

array   $recipients  

[ Top ]

method hasNext [line 43]

boolean 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 54]

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.
[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:32:02 -0500 by phpDocumentor 1.4.3