]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/lists/recipient/class_RecipientList.php
Introduced getListIterator() to all lists implementing Listable
[hub.git] / application / hub / main / lists / recipient / class_RecipientList.php
index f5d3b4f98a2a0e3d02cabd373cf731276092d807..538eb7476c3745ac33aff2525357519a646d5432 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -37,7 +37,7 @@ class RecipientList extends BaseList implements Listable, Registerable {
         *
         * @return      $listInstance           An instance a Listable class
         */
-       public final static function createRecipientList () {
+       public static final function createRecipientList () {
                // Get new instance
                $listInstance = new RecipientList();
 
@@ -51,6 +51,16 @@ class RecipientList extends BaseList implements Listable, Registerable {
                // Return the prepared instance
                return $listInstance;
        }
+
+       /**
+        * "Getter" for an iterator instance of this list
+        *
+        * @return      $iteratorInstance       An instance of a Iterator class
+        * @todo0% done
+        */
+       public function getListIterator () {
+               $this->partialStub('Please implement this method.');
+       }
 }
 
 // [EOF]