@@ -2,6 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\models; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\behaviors\CleanRelations; |
6 | 7 | use app\behaviors\Tree; |
7 | 8 | use app\components\Helper; |
@@ -10,13 +11,11 @@ discard block |
||
10 | 11 | use app\properties\HasProperties; |
11 | 12 | use app\traits\GetImages; |
12 | 13 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
13 | -use Yii; |
|
14 | 14 | use yii\behaviors\TimestampBehavior; |
15 | 15 | use yii\caching\TagDependency; |
16 | 16 | use yii\data\ActiveDataProvider; |
17 | 17 | use yii\db\ActiveRecord; |
18 | 18 | use yii\db\Expression; |
19 | -use yii\helpers\ArrayHelper; |
|
20 | 19 | use yii\helpers\Url; |
21 | 20 | |
22 | 21 | /** |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\models; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\models\Property; |
6 | 7 | use app\traits\SortModels; |
7 | 8 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
8 | -use Yii; |
|
9 | 9 | use yii\caching\TagDependency; |
10 | 10 | |
11 | 11 | /** |
@@ -2,6 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\models; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\models\Property; |
6 | 7 | use app\models\PropertyGroup; |
7 | 8 | use app\properties\AbstractModel; |
@@ -9,7 +10,6 @@ discard block |
||
9 | 10 | use app\properties\PropertyValue; |
10 | 11 | use app\properties\traits\PropertyTrait; |
11 | 12 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
12 | -use Yii; |
|
13 | 13 | use yii\caching\TagDependency; |
14 | 14 | |
15 | 15 | /** |
@@ -1,5 +1,4 @@ |
||
1 | 1 | <?php |
2 | -use kartik\select2\Select2; |
|
3 | 2 | |
4 | 3 | /** |
5 | 4 | * @var $this yii\web\View |
@@ -1,5 +1,4 @@ |
||
1 | 1 | <?php |
2 | -use kartik\select2\Select2; |
|
3 | 2 | |
4 | 3 | /** |
5 | 4 | * @var $this yii\web\View |
@@ -1,5 +1,4 @@ |
||
1 | 1 | <?php |
2 | -use kartik\select2\Select2; |
|
3 | 2 | |
4 | 3 | /** |
5 | 4 | * @var $this yii\web\View |
@@ -1,5 +1,4 @@ |
||
1 | 1 | <?php |
2 | -use kartik\select2\Select2; |
|
3 | 2 | |
4 | 3 | /** |
5 | 4 | * @var $this yii\web\View |
@@ -2,6 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | namespace app\modules\user\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\components\AuthClientHelper; |
6 | 7 | use app\modules\user\actions\AuthAction; |
7 | 8 | use app\modules\user\models\LoginForm; |
@@ -10,7 +11,6 @@ discard block |
||
10 | 11 | use app\modules\user\models\ResetPasswordForm; |
11 | 12 | use app\modules\user\models\User; |
12 | 13 | use app\modules\user\models\UserService; |
13 | -use Yii; |
|
14 | 14 | use yii\base\ErrorException; |
15 | 15 | use yii\base\InvalidParamException; |
16 | 16 | use yii\caching\TagDependency; |
@@ -11,8 +11,6 @@ |
||
11 | 11 | * @var $this \app\properties\handlers\Handler |
12 | 12 | * @var $values array |
13 | 13 | */ |
14 | -use vova07\imperavi\Widget as ImperaviWidget; |
|
15 | -use yii\helpers\Url; |
|
16 | 14 | |
17 | 15 | ?> |
18 | 16 | <?=$form->field($model, $property_key.'[0]')->widget( |