Initial state

This commit is contained in:
2023-05-16 10:16:21 -06:00
commit c3c0108143
167 changed files with 20135 additions and 0 deletions

15
class/c_menu.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
class Menu {
private array $menu = [];
public function __construct() {
$this->conn = new Connection();
}
public function getMenu() {
$sql = "SELECT * FROM menu";
$result = $this->conn->getConnection()->query($sql);
$this->menu = $result->fetchAll();
return $this->menu;
}
}