removed gallery, added notizen button

This commit is contained in:
Felix Ivo
2025-06-16 10:01:41 +02:00
parent 3862b68d9f
commit da82f93e99
5 changed files with 7 additions and 81 deletions

View File

@@ -1,27 +0,0 @@
<?php
namespace ppa\Controller;
use ppa\Model\GalleryModel;
use ppa\Library\View;
class GalleryController
{
private $galleryModel;
protected $view;
public function __construct($view)
{
$this->galleryModel = new GalleryModel();
$this->view = $view;
}
public function showPhotos()
{
$this->view->setVars([
"photos" => $this->galleryModel->selectPhotos()
]);
}
}