This commit is contained in:
2024-10-15 17:32:33 +03:00
parent c3c377a4e2
commit b7ac923261
7 changed files with 192 additions and 0 deletions

View File

@ -0,0 +1,25 @@
<?php
namespace app\modules\module_shop\controllers;
use kernel\AdminController;
use kernel\app_modules\tag\services\TagService;
use kernel\services\ModuleService;
class ModuleShopController extends AdminController
{
protected ModuleService $moduleService;
protected function init(): void
{
parent::init();
$this->cgView->viewPath = KERNEL_APP_MODULES_DIR . "/module_shop/views/";
$this->moduleService = new ModuleService();
}
public function actionIndex($page_number): void
{
$this->cgView->render("index.php", ['page_number' => $page_number]);
}
}