added RRD Stats Module
[PHP-P10.git] / Uplink / P10_Server.class.php
index 465fa3c00d97a830779a26981724ee3dda3f7b2d..ba9200e24c796905eecd53aa0504f9ab35b38aae 100644 (file)
@@ -87,6 +87,14 @@ class P10_Server {
                return NULL;
        }
        
+       public static function getServerCount() {
+               return count(self::$static_servers);
+       }
+       
+       public static function getServers() {
+               return self::$static_servers;
+       }
+       
        
        private $name;
        private $numeric;
@@ -177,6 +185,10 @@ class P10_Server {
        public function getUsers() {
                return $this->users;
        }
+       
+       public function getUserCount() {
+               return count($this->users);
+       }
 }
 
 ?>
\ No newline at end of file