]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/lists/recipient/class_RecipientList.php
Updated 'core'.
[hub.git] / application / hub / main / lists / recipient / class_RecipientList.php
index 6375f63d1aac66466bfcb136f5abafdfb9215aaa..a8ac4e9161a48841f9aa23e1d5a211ccb099431e 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A Recipient list
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -42,8 +42,8 @@ class RecipientList extends BaseList implements Listable, Registerable {
                $listInstance = new RecipientList();
 
                // Add groups:
-               // 1.) ip:port combinations
-               $listInstance->addGroup('ip_port');
+               // 1.) Universal Node Locators
+               $listInstance->addGroup('unl');
 
                // 2.) Session ids
                $listInstance->addGroup('session_id');
@@ -53,13 +53,12 @@ class RecipientList extends BaseList implements Listable, Registerable {
        }
 
        /**
-        * "Getter" for an iterator instance of this list
+        * "Getter" for an iterator instance of this list (not implemented)
         *
         * @return      $iteratorInstance       An instance of a Iterator class
-        * @todo        0% done
         */
        public function getListIterator () {
-               $this->partialStub('Please implement this method.');
+               $this->debugInstance($this->__toString() . ' uses the default iterator. Please call getIterator() instead!');
        }
 
        /**
@@ -69,7 +68,7 @@ class RecipientList extends BaseList implements Listable, Registerable {
         */
        public function clearList () {
                // Clear both groups
-               $this->clearGroups(array('ip_port', 'session_id'));
+               $this->clearGroups(array('unl', 'session_id'));
        }
 }