Blame view

backend/modules/partners/models/Item.php 625 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
26
27
28
29
30
31
32
  <?php
  
  namespace backend\modules\partners\models;
  
  use common\modules\partners\models\Item as CommonModel;
  
  /**
   * Class Item
   * @package backend\modules\partners\models
   * @author Alla Kuzmenko
   * @copyright (c), Thread
   */
  class Item extends CommonModel
  {
      /**
       * @param $params
       * @return \yii\data\ActiveDataProvider
       */
      public function search($params)
      {
          return (new search\Item())->search($params);
      }
  
      /**
       * @param $params
       * @return \yii\data\ActiveDataProvider
       */
      public function trash($params)
      {
          return (new search\Item())->trash($params);
      }
  }