Много рефактора

This commit is contained in:
2023-12-19 03:58:37 +02:00
parent 253eafca3b
commit 07f905ef64
24 changed files with 2748 additions and 3199 deletions
+6
View File
@@ -25,4 +25,10 @@ class ItemModel
{
return $this->item['img'];
}
public static function getNameById(int $id): string
{
$name = Db::getValue('select name from items_main where id = ?', [$id]);
return $name ?: '';
}
}