Пример #1
0
 public static function lookupCharacterName($characterID, $user)
 {
     global $db;
     $pheal = new Pheal($user->getDefaultKeyID(), $user->getDefaultVCode(), 'eve');
     $characterName = $pheal->CharacterName(array('ids' => $characterID));
     return $characterName->characters[0]->name;
 }