@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | +use app\backend\components\Helper; |
|
3 | 4 | use app\modules\shop\models\Product; |
5 | +use devgroup\JsTreeWidget\ContextMenuHelper; |
|
6 | +use devgroup\JsTreeWidget\TreeWidget; |
|
4 | 7 | use kartik\dynagrid\DynaGrid; |
5 | 8 | use kartik\icons\Icon; |
6 | 9 | use yii\helpers\Url; |
7 | -use devgroup\JsTreeWidget\TreeWidget; |
|
8 | -use devgroup\JsTreeWidget\ContextMenuHelper; |
|
9 | -use app\backend\components\Helper; |
|
10 | 10 | |
11 | 11 | $this->title = Yii::t('app', 'Products'); |
12 | 12 | $this->params['breadcrumbs'][] = $this->title; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | * @var \yii\web\View $this |
6 | 6 | */ |
7 | 7 | |
8 | -use app\modules\shop\models\Product; |
|
9 | 8 | use kartik\helpers\Html; |
10 | 9 | |
11 | 10 | $immutable = isset($immutable) && $immutable; |
@@ -12,12 +12,10 @@ |
||
12 | 12 | * @var $values_by_property_id integer |
13 | 13 | */ |
14 | 14 | |
15 | -use app\modules\image\models\Image; |
|
16 | -use app\modules\shop\models\Product; |
|
17 | 15 | use app\modules\image\widgets\ObjectImageWidget; |
18 | -use kartik\helpers\Html; |
|
19 | -use yii\helpers\Url; |
|
16 | +use app\modules\shop\models\Product; |
|
20 | 17 | use app\modules\shop\widgets\AddToWishlistWidget; |
18 | +use kartik\helpers\Html; |
|
21 | 19 | |
22 | 20 | $this->title = $this->blocks['title']; |
23 | 21 | $this->params['breadcrumbs'] = $breadcrumbs; |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | use app\modules\shop\models\Wishlist; |
3 | -use yii\helpers\Url; |
|
4 | 3 | use yii\helpers\Html; |
4 | +use yii\helpers\Url; |
|
5 | 5 | |
6 | 6 | /** |
7 | 7 | * @var $this yii\web\View |
@@ -4,7 +4,6 @@ |
||
4 | 4 | * @var \app\backend\models\OrderChat[] $list |
5 | 5 | * @var \app\modules\shop\models\Order $order |
6 | 6 | */ |
7 | -use yii\helpers\Html; |
|
8 | 7 | |
9 | 8 | $this->registerAssetBundle(\app\backend\assets\KoAsset::className()); |
10 | 9 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | -use yii\helpers\Html; |
|
3 | 2 | use yii\bootstrap\ActiveForm; |
3 | +use yii\helpers\Html; |
|
4 | 4 | |
5 | 5 | /* @var $this yii\web\View */ |
6 | 6 | /* @var $form yii\bootstrap\ActiveForm */ |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | +use app\models\Property; |
|
3 | 4 | use kartik\helpers\Html; |
4 | 5 | use yii\helpers\Url; |
5 | -use app\models\Property; |
|
6 | 6 | /** |
7 | 7 | * @var int $category_group_id |
8 | 8 | * @var array $possible_selections |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Actual run function for all widget classes extending BaseWidget |
17 | 17 | * |
18 | - * @return mixed |
|
18 | + * @return string |
|
19 | 19 | */ |
20 | 20 | public function widgetRun() |
21 | 21 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Actual run function for all widget classes extending BaseWidget |
17 | 17 | * |
18 | - * @return mixed |
|
18 | + * @return string |
|
19 | 19 | */ |
20 | 20 | public function widgetRun() |
21 | 21 | { |