This commit is contained in:
2023-11-09 19:24:47 +02:00
parent 1645f58a63
commit fc17eada24
19 changed files with 1255 additions and 953 deletions
@@ -0,0 +1,18 @@
<?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);
}
}