game/_incl_data/class/Model/Constant/Constant.php

18 lines
264 B
PHP
Raw Normal View History

2023-11-09 17:24:47 +00:00
<?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);
}
}