@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\models; |
4 | 4 | |
5 | -use app\traits\LoadModel; |
|
6 | 5 | use Yii; |
6 | +use app\traits\LoadModel; |
|
7 | 7 | use yii\caching\TagDependency; |
8 | 8 | use yii\data\ActiveDataProvider; |
9 | 9 | use yii\db\ActiveRecord; |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\config\models; |
4 | 4 | |
5 | -use app\modules\config\helpers\ApplicationConfigWriter; |
|
6 | 5 | use Yii; |
6 | +use app\modules\config\helpers\ApplicationConfigWriter; |
|
7 | 7 | use yii\base\Model; |
8 | 8 | use yii\helpers\StringHelper; |
9 | 9 |
@@ -2,17 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\core\backend; |
4 | 4 | |
5 | +use Packagist\Api\Result\Package\Version; |
|
6 | +use Yii; |
|
5 | 7 | use app; |
6 | 8 | use app\backend\components\BackendController; |
7 | 9 | use app\modules\core\models\Extensions; |
8 | -use Packagist\Api\Result\Package\Version; |
|
9 | -use Yii; |
|
10 | -use yii\data\ArrayDataProvider; |
|
11 | -use yii\helpers\VarDumper; |
|
12 | -use yii\web\BadRequestHttpException; |
|
13 | -use yii\web\NotFoundHttpException; |
|
14 | -use yii\web\ServerErrorHttpException; |
|
15 | 10 | use yii\filters\AccessControl; |
11 | +use yii\web\NotFoundHttpException; |
|
16 | 12 | |
17 | 13 | |
18 | 14 | class ExtensionsController extends BackendController |
@@ -2,10 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\core\models; |
4 | 4 | |
5 | -use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
6 | 5 | use Yii; |
6 | +use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
7 | 7 | use yii\caching\TagDependency; |
8 | -use yii\helpers\ArrayHelper; |
|
9 | 8 | |
10 | 9 | /** |
11 | 10 | * This is the model class for table "{{%content_decorators}}". |
@@ -2,17 +2,16 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\core\models; |
4 | 4 | |
5 | +use Packagist\Api\Result\Package\Version; |
|
6 | +use Yii; |
|
5 | 7 | use app; |
6 | 8 | use app\components\ExtensionModule; |
7 | -use Yii; |
|
8 | 9 | use yii\base\ErrorException; |
9 | 10 | use yii\caching\TagDependency; |
11 | +use yii\data\ActiveDataProvider; |
|
12 | +use yii\db\ActiveQuery; |
|
10 | 13 | use yii\db\ActiveRecord; |
11 | -use yii\db\Query; |
|
12 | 14 | use yii\helpers\ArrayHelper; |
13 | -use yii\db\ActiveQuery; |
|
14 | -use yii\data\ActiveDataProvider; |
|
15 | -use Packagist\Api\Result\Package\Version; |
|
16 | 15 | use yii\helpers\Json; |
17 | 16 | use yii\web\NotFoundHttpException; |
18 | 17 |
@@ -4,11 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Yii; |
6 | 6 | use yii\caching\TagDependency; |
7 | -use yii\db\ActiveRecord; |
|
8 | -use yii\db\Query; |
|
9 | -use yii\helpers\ArrayHelper; |
|
10 | -use yii\db\ActiveQuery; |
|
11 | 7 | use yii\data\ActiveDataProvider; |
8 | +use yii\db\ActiveQuery; |
|
9 | +use yii\db\ActiveRecord; |
|
12 | 10 | |
13 | 11 | /** |
14 | 12 | * This is the model class for table "{{%extension_types}}". |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use yii\helpers\Json; |
|
4 | 3 | use kartik\dynagrid\DynaGrid; |
5 | 4 | use kartik\icons\Icon; |
5 | +use yii\helpers\Json; |
|
6 | 6 | |
7 | 7 | /** |
8 | 8 | * @var yii\web\View $this |
@@ -2,12 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\data\components; |
4 | 4 | |
5 | -use app\models\Property; |
|
6 | -use app\models\Object; |
|
7 | -use app\modules\shop\models\Product; |
|
8 | -use yii\db\Expression; |
|
9 | -use app\models\PropertyStaticValues; |
|
10 | -use app\models\ObjectStaticValues; |
|
11 | 5 | use Yii; |
12 | 6 | |
13 | 7 | abstract class AbstractImportCsv extends Import |
@@ -3,15 +3,14 @@ |
||
3 | 3 | namespace app\modules\data\components\commerceml; |
4 | 4 | |
5 | 5 | use app\components\Helper; |
6 | -use app\modules\data\models\CommercemlGuid; |
|
7 | -use app\modules\shop\models\Category; |
|
8 | 6 | use app\models\Object; |
9 | 7 | use app\models\ObjectPropertyGroup; |
10 | 8 | use app\models\ObjectStaticValues; |
11 | -use app\modules\shop\models\CategoryGroup; |
|
12 | -use app\modules\shop\models\Product; |
|
13 | 9 | use app\models\Property; |
14 | 10 | use app\models\PropertyStaticValues; |
11 | +use app\modules\data\models\CommercemlGuid; |
|
12 | +use app\modules\shop\models\Category; |
|
13 | +use app\modules\shop\models\Product; |
|
15 | 14 | use app\properties\AbstractPropertyEavModel; |
16 | 15 | |
17 | 16 | class XmlFileReader |