@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\widgets; |
| 4 | 4 | |
| 5 | -use app\models\ObjectStaticValues; |
|
| 6 | -use app\modules\shop\models\Product; |
|
| 5 | +use Yii; |
|
| 7 | 6 | use app\models\BaseObject; |
| 7 | +use app\models\ObjectStaticValues; |
|
| 8 | 8 | use app\modules\shop\models\Category; |
| 9 | -use Yii; |
|
| 9 | +use app\modules\shop\models\Product; |
|
| 10 | 10 | use yii\base\Widget; |
| 11 | 11 | use yii\db\Expression; |
| 12 | 12 | use yii\db\Query; |
@@ -2,13 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\widgets\filter; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\models\BaseObject; |
| 6 | 7 | use app\models\ObjectStaticValues; |
| 7 | 8 | use app\models\Property; |
| 8 | 9 | use app\models\PropertyGroup; |
| 9 | 10 | use app\models\PropertyStaticValues; |
| 10 | 11 | use app\modules\Shop\models\Product; |
| 11 | -use Yii; |
|
| 12 | 12 | use yii\base\Widget; |
| 13 | 13 | use yii\caching\TagDependency; |
| 14 | 14 | use yii\db\Query; |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\widgets; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\models\BaseObject; |
| 6 | 7 | use app\modules\shop\models\Category; |
| 7 | 8 | use app\properties\PropertiesHelper; |
| 8 | 9 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 9 | -use Yii; |
|
| 10 | 10 | use yii\caching\TagDependency; |
| 11 | 11 | |
| 12 | 12 | class FilteredCategoriesWidget extends PlainCategoriesWidget |