You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

24 lines
505 B

<?php
/**
* Created by Error202
* Date: 21.10.2017
*/
namespace frontend\web\themes\sport\widgets;
use common\modules\shop\forms\search\ShopSearchForm;
use yii\base\Widget;
class SearchLineWidget extends Widget
{
public function run(): string
{
$searchForm = new ShopSearchForm();
$searchForm->load(\Yii::$app->request->queryParams);
$searchForm->validate();
return $this->render('search-line', [
'searchForm' => $searchForm,
]);
}
}