begin playerlist

This commit is contained in:
kremsy committed 2013-12-18 15:48:33 +01:00
1 parent 4428fd183c
commit 5d8ae12755
6 files changed
+170 -4

No files matched your search

+14
View File
@@ -71,6 +71,20 @@ class Player {
return ($this->pid <= 0);
}
/**
* Get province
*
* @return string
*/
public function getProvince() {
$pathParts = explode('|', $this->path);
if (isset($pathParts[3])) {
return $pathParts[3];
}
return "";
}
/**
* Get country
*