X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Uplink%2FP10_Server.class.php;fp=Uplink%2FP10_Server.class.php;h=f36bbeae3cc1c4092e251e0301f5e88ee3603be4;hp=41bf281d4c58ede41fd3fc2b90b397986a22a737;hb=e8b8beead9e81f42f9c125d82ab6b21b60718f67;hpb=8fc32c585446865b73c89859c35d1387fadbf9af diff --git a/Uplink/P10_Server.class.php b/Uplink/P10_Server.class.php index 41bf281..f36bbea 100644 --- a/Uplink/P10_Server.class.php +++ b/Uplink/P10_Server.class.php @@ -55,7 +55,16 @@ * 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