// 1.5 branche creation

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@5881 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
aFolletete
2011-04-12 18:24:40 +00:00
commit 10445ad61d
5317 changed files with 432110 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
<?php
/**
* Swift Mailer Iterator Interface
* Please read the LICENSE file
* @author Chris Corbyn <chris@w3style.co.uk>
* @package Swift
* @license GNU Lesser General Public License
*/
/**
* Swift Iterator Interface
* Provides the interface for iterators used for retrieving addresses in batch sends.
* @package Swift
* @author Chris Corbyn <chris@w3style.co.uk>
*/
interface Swift_Iterator
{
/**
* Check if there is a value in the list after the current one.
* @return boolean
*/
public function hasNext();
/**
* Move to the next position in the list if possible.
* @return boolean
*/
public function next();
/**
* Seek to the given numeric index in the list of possible.
* @return boolean
*/
public function seekTo($pos);
/**
* Get the value of the list at the current position.
* @return mixed
*/
public function getValue();
/**
* Get the current list position.
* @return int
*/
public function getPosition();
}