Skip to content

Instantly share code, notes, and snippets.

View andku83's full-sized avatar

Andrey Kushnarev andku83

  • Ukraine, Kharkiv
View GitHub Profile
<?php
class SearchUrlRule extends Object implements UrlRuleInterface
{
public $route = 'category/view';
public $routePage = 'page/view';
protected static $_listPageSlugs;
protected static $_searchGroups;
<?php
namespace frontend\models\search;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\Product;
use common\models\Category;
use yii\db\Expression;