game/_incl_data/class/Model/Constant/Constant.php
2023-11-09 19:24:47 +02:00

18 lines
264 B
PHP

<?php
namespace Model\Constant;
use Core\Db;
class Constant
{
protected static string $tableName = '';
protected array $rows = [];
public function __construct()
{
$this->rows = Db::getRows('select * from ' . self::$tableName);
}
}