]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/lists/hub/class_HubList.php
Some rewriting, TODOs.txt updated:
[hub.git] / application / hub / main / lists / hub / class_HubList.php
index 81efbc01c29b159ab35149b1da846a493bc4f10a..ce504d4729d18ff7507078fd07b572caf8ad169e 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
  *
@@ -48,6 +48,25 @@ class HubList extends BaseList implements Listable {
                // Return the prepared instance
                return $listInstance;
        }
+
+       /**
+        * "Getter" for an iterator instance of this list (not implemented)
+        *
+        * @return      $iteratorInstance       An instance of a Iterator class
+        */
+       public function getListIterator () {
+               $this->debugInstance($this->__toString() . ' uses the default iterator. Please call getIterator() instead!');
+       }
+
+       /**
+        * Clears this list by cleaning up all groups together.
+        *
+        * @return      void
+        */
+       public function clearList () {
+               // Clear both groups together
+               $this->clearGroups(array('connected', 'disconnected'));
+       }
 }
 
 // [EOF]