begin playerlist

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

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
*