This commit is contained in:
2023-10-16 16:12:16 +03:00
parent 2abd435798
commit a14232a899
4 changed files with 188 additions and 356 deletions
+5
View File
@@ -10,4 +10,9 @@ class ClanInfo
{
return Db::getValue('select count(name) from clan where name = ? and status = 1', [$name]) > 0;
}
public static function getNameById(int $id): string
{
Db::getValue('select name from clan where id = ?', [$id]);
}
}