module install/uninstall

This commit is contained in:
2024-10-08 12:16:41 +03:00
parent 9823a6ad8e
commit 720d75ee51
16 changed files with 127 additions and 148 deletions

View File

@ -4,6 +4,7 @@
"author": "ITGuild",
"slug": "tag",
"description": "Tags module",
"module_path": "{APP}/modules/{slug}",
"module_class": "app\\modules\\tag\\TagModule",
"module_class_file": "{APP}/modules/tag/TagModule.php"
}

View File

@ -1,17 +0,0 @@
<?php
//
//namespace app\tables\columns\menu;
//
//use Itguild\Tables\ActionColumn\ActionColumn;
//
//class MenuDeleteActionColumn extends ActionColumn
//{
//
// protected string $prefix = "/delete/";
//
// public function fetch(): string
// {
// $link = $this->baseUrl . $this->prefix . $this->id;
// return " <a href='$link' class='btn btn-danger'>Удалить</a> ";
// }
//}

View File

@ -1,17 +0,0 @@
<?php
//
//namespace app\tables\columns\menu;
//
//use Itguild\Tables\ActionColumn\ActionColumn;
//
//class MenuEditActionColumn extends ActionColumn
//{
//
// protected string $prefix = "/update/";
//
// public function fetch(): string
// {
// $link = $this->baseUrl . $this->prefix . $this->id;
// return " <a href='$link' class='btn btn-success'>Редактировать</a> ";
// }
//}

View File

@ -1,17 +0,0 @@
<?php
//
//namespace app\tables\columns\menu;
//
//use Itguild\Tables\ActionColumn\ActionColumn;
//
//class MenuViewActionColumn extends ActionColumn
//{
//
// protected string $prefix = "/";
//
// public function fetch(): string
// {
// $link = $this->baseUrl . $this->prefix . $this->id;
// return " <a href='$link' class='btn btn-primary'>Просмотр</a> ";
// }
//}

View File

@ -1,16 +0,0 @@
<?php
//
//namespace app\tables\columns\post;
//
//use Itguild\Tables\ActionColumn\ActionColumn;
//
//class PostDeleteActionColumn extends ActionColumn
//{
// protected string $prefix = "/delete/";
//
// public function fetch(): string
// {
// $link = $this->baseUrl . $this->prefix . $this->id;
// return " <a href='$link' class='btn btn-danger'>Удалить</a> ";
// }
//}

View File

@ -1,16 +0,0 @@
<?php
//
//namespace app\tables\columns\post;
//
//use Itguild\Tables\ActionColumn\ActionColumn;
//
//class PostEditActionColumn extends ActionColumn
//{
// protected string $prefix = "/update/";
//
// public function fetch(): string
// {
// $link = $this->baseUrl . $this->prefix . $this->id;
// return " <a href='$link' class='btn btn-success'>Редактировать</a> ";
// }
//}

View File

@ -1,16 +0,0 @@
<?php
//
//namespace app\tables\columns\post;
//
//use Itguild\Tables\ActionColumn\ActionColumn;
//
//class PostViewActionColumn extends actionColumn
//{
// protected string $prefix = "/";
//
// public function fetch(): string
// {
// $link = $this->baseUrl . $this->prefix . $this->id;
// return " <a href='$link' class='btn btn-primary'>Просмотр</a> ";
// }
//}

View File

@ -1,16 +0,0 @@
<?php
//
//namespace app\tables\columns\user;
//
//use Itguild\Tables\ActionColumn\ActionColumn;
//
//class UserDeleteActionColumn extends ActionColumn
//{
// protected string $prefix = "/delete/";
//
// public function fetch(): string
// {
// $link = $this->baseUrl . $this->prefix . $this->id;
// return " <a href='$link' class='btn btn-danger'>Удалить</a> ";
// }
//}

View File

@ -1,16 +0,0 @@
<?php
//
//namespace app\tables\columns\user;
//
//use Itguild\Tables\ActionColumn\ActionColumn;
//
//class UserEditActionColumn extends ActionColumn
//{
// protected string $prefix = "/update/";
//
// public function fetch(): string
// {
// $link = $this->baseUrl . $this->prefix . $this->id;
// return " <a href='$link' class='btn btn-success'>Редактировать</a> ";
// }
//}

View File

@ -1,16 +0,0 @@
<?php
//
//namespace app\tables\columns\user;
//
//use Itguild\Tables\ActionColumn\ActionColumn;
//
//class UserViewActionColumn extends ActionColumn
//{
// protected string $prefix = "/";
//
// public function fetch(): string
// {
// $link = $this->baseUrl . $this->prefix . $this->id;
// return " <a href='$link' class='btn btn-primary'>Просмотр</a> ";
// }
//}