попа
This commit is contained in:
28
mirzaev/surikovlib/system/controllers/kemenov_controller.php
Normal file
28
mirzaev/surikovlib/system/controllers/kemenov_controller.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace mirzaev\surikovlib\controllers;
|
||||
|
||||
use mirzaev\surikovlib\controllers\core;
|
||||
use mirzaev\surikovlib\models\accounts_model as accounts;
|
||||
|
||||
use Twig\Environment as view;
|
||||
|
||||
/**
|
||||
* Контроллер страницы "кеменов"
|
||||
*
|
||||
* @package mirzaev\surikovlib\controllers
|
||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||
*/
|
||||
final class kemenov_controller extends core
|
||||
{
|
||||
public function index(array $vars = []): ?string
|
||||
{
|
||||
// Инициализация журнала ошибок
|
||||
$vars['errors'] = [];
|
||||
|
||||
// Генерация представления
|
||||
return $this->view->render(DIRECTORY_SEPARATOR . 'pages' . DIRECTORY_SEPARATOR . 'kemenov' . DIRECTORY_SEPARATOR . 'index.html', $vars);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user