Commit inicial

This commit is contained in:
2024-08-02 12:02:25 -06:00
commit ff7d678844
267 changed files with 101936 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;
}
}