removed gallery, added notizen button
This commit is contained in:
@@ -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()
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user