Blame view

common/components/SiteSearch.php 334 Bytes
c7f222e2   Artem   first
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  <?php
  namespace common\components;
  use common\models\SiteSearchForm;
  use yii\base\Widget;
  
  
  class SiteSearch extends Widget
  {
      public function init(){
  
          parent::init();
  
      }
  
  
      public function run()
      {
          $model = new SiteSearchForm();
          return $this->render('siteSearch', array('model'=>$model));
      }
  }