From 2040275191f2e808d1c721f98342506fc955ba43 Mon Sep 17 00:00:00 2001 From: Jannik Schönartz Date: Tue, 21 Mar 2017 13:52:23 +0100 Subject: Locationinfo: Added Comments to the functions. --- modules-available/locationinfo/inc/locationinfo.inc.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules-available/locationinfo/inc/locationinfo.inc.php') diff --git a/modules-available/locationinfo/inc/locationinfo.inc.php b/modules-available/locationinfo/inc/locationinfo.inc.php index 02a7e2c1..4e2ea8aa 100644 --- a/modules-available/locationinfo/inc/locationinfo.inc.php +++ b/modules-available/locationinfo/inc/locationinfo.inc.php @@ -3,6 +3,12 @@ class LocationInfo { + /** + * Gets the pc data and returns it's state. + * + * @param $pc The pc data from the db. Array('logintime' =>, 'lastseen' =>, 'lastboot' =>) + * @return int pc state + */ public static function getPcState($pc) { /* pcState: -- cgit v1.2.3-55-g7522