diff options
author | Jannik Schönartz | 2017-03-21 13:52:23 +0100 |
---|---|---|
committer | Jannik Schönartz | 2017-03-21 13:52:23 +0100 |
commit | 2040275191f2e808d1c721f98342506fc955ba43 (patch) | |
tree | c93515242ffe82e31c47f8554967c2a08efaa1ed /modules-available/locationinfo/inc | |
parent | Admin-panel: Redesigned config. Added helpboxes. (diff) | |
download | slx-admin-2040275191f2e808d1c721f98342506fc955ba43.tar.gz slx-admin-2040275191f2e808d1c721f98342506fc955ba43.tar.xz slx-admin-2040275191f2e808d1c721f98342506fc955ba43.zip |
Locationinfo: Added Comments to the functions.
Diffstat (limited to 'modules-available/locationinfo/inc')
-rw-r--r-- | modules-available/locationinfo/inc/locationinfo.inc.php | 6 |
1 files changed, 6 insertions, 0 deletions
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: |