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=1603e4c84722a6455b7187e001a0e254addcab2f;hp=a2144cb28a8fc440db8b0ff8d06d6c39b4b2b0d2;hb=64245b7638b8ac32229ccc67856b45a6b79afd35;hpb=e09bc77d2253058b7fe4c4952ec254d8e5e855a2 diff --git a/Uplink/P10_Server.class.php b/Uplink/P10_Server.class.php index a2144cb..1603e4c 100644 --- a/Uplink/P10_Server.class.php +++ b/Uplink/P10_Server.class.php @@ -39,6 +39,18 @@ * String getNumeric() * returns the Numeric of the Server * + * String getName() + * returns the Name of the Server + * + * String getStartTime() + * returns the startup time of the Server + * + * String getLinkTime() + * returns the link time of the Server + * + * String getDescription() + * returns the Description of the Server + * * void addServer(P10_Server $server) * adds a Server to the server's "slave" list * @@ -97,6 +109,22 @@ class P10_Server { return $this->numeric; } + public function getName() { + return $this->name; + } + + public function getStartTime() { + return $this->start_time; + } + + public function getLinkTime() { + return $this->link_time; + } + + public function getDescription() { + return $this->description; + } + public function addServer($server) { $this->servers[$server->getNumeric()] = $server; }