continued burst() method & Numerics.class.php
[PHP-P10.git] / Uplink / P10_Server.class.php
index 41bf281d4c58ede41fd3fc2b90b397986a22a737..f36bbeae3cc1c4092e251e0301f5e88ee3603be4 100644 (file)
  *     adds a Server to the server's "slave" list
  *
  * void delServer(P10_Server $server)
- *     removes a Server to the server's "slave" list
+ *     removes a Server from the server's "slave" list
+ *
+ * void addUser(P10_User $user)
+ *     adds a User to the server's userlist
+ *
+ * void delUser(P10_User $user)
+ *     removes a User from the server's userlist
+ *
+ * P10_User[] getUsers()
+ *     returns the server's userlist
  */
 
 class P10_Server {
@@ -152,6 +161,10 @@ class P10_Server {
                        trigger_error("Tried to remove a User, that does NOT exist.", E_USER_WARNING);
                }
        }
+       
+       public function getUsers() {
+               return $this->users;
+       }
 }
 
 ?>
\ No newline at end of file