Blame view

backend/modules/faq/controllers/ArticleController.php 610 Bytes
d1f8bd40   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  <?php
  
  namespace backend\modules\faq\controllers;
  
  use thread\app\base\controllers\BackendController;
  //
  use backend\modules\faq\models\{
      Article, ArticleLang, search\Article as filterArticleModel
  };
  
  /**
   * Class ArticleController
   *
   * @package backend\modules\faq\controllers
   * @author FilamentV <vortex.filament@gmail.com>
   * @copyright (c), Thread
   */
  class ArticleController extends BackendController
  {
      public $model = Article::class;
      public $modelLang = ArticleLang::class;
      public $filterModel = filterArticleModel::class;
      public $title = 'Article';
      public $name = 'article';
  }