]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/lists/hub/class_HubList.php
Continued on development of 'hub' project with many refactorings/addings:
[hub.git] / application / hub / main / lists / hub / class_HubList.php
index c663de19d4e3607a3f5b6dbe3c060bd97225abd4..857ee895dd84a2b376e881632d17d85f165ab33b 100644 (file)
@@ -53,11 +53,21 @@ class HubList extends BaseList implements Listable {
         * "Getter" for an iterator instance of this list
         *
         * @return      $iteratorInstance       An instance of a Iterator class
-        * @todo0% done
+        * @todo        0% done
         */
        public function getListIterator () {
                $this->partialStub('Please implement this method.');
        }
+
+       /**
+        * Clears this list by cleaning up all groups together.
+        *
+        * @return      void
+        */
+       public function clearList () {
+               // Clear both groups together
+               $this->clearGroups(array('connected', 'disconnected'));
+       }
 }
 
 // [EOF]