@@ -2,12 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\data\components; |
| 4 | 4 | |
| 5 | -use app\models\Property; |
|
| 6 | -use app\models\BaseObject; |
|
| 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\BaseObject; |
| 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 |
@@ -2,15 +2,15 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\data\components; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\models\BaseObject; |
| 6 | 7 | use app\models\ObjectPropertyGroup; |
| 7 | 8 | use app\models\ObjectStaticValues; |
| 8 | -use app\modules\shop\models\Product; |
|
| 9 | 9 | use app\models\Property; |
| 10 | 10 | use app\models\PropertyGroup; |
| 11 | 11 | use app\models\PropertyStaticValues; |
| 12 | +use app\modules\shop\models\Product; |
|
| 12 | 13 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 13 | -use Yii; |
|
| 14 | 14 | use yii\base\Component; |
| 15 | 15 | use yii\base\InvalidParamException; |
| 16 | 16 | use yii\db\ActiveQuery; |
@@ -2,17 +2,16 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\data\controllers; |
| 4 | 4 | |
| 5 | -use app\modules\data\components\ExportableInterface; |
|
| 6 | 5 | use Yii; |
| 7 | -use app\modules\data\models\Import; |
|
| 8 | -use app\modules\data\models\Export; |
|
| 6 | +use app\backgroundtasks\helpers\BackgroundTasks; |
|
| 9 | 7 | use app\models\BaseObject; |
| 8 | +use app\modules\data\components\ExportableInterface; |
|
| 9 | +use app\modules\data\models\Export; |
|
| 10 | +use app\modules\data\models\Import; |
|
| 10 | 11 | use app\modules\data\models\ImportModel; |
| 11 | -use app\backgroundtasks\helpers\BackgroundTasks; |
|
| 12 | 12 | use yii\base\ErrorException; |
| 13 | 13 | use yii\data\ActiveDataProvider; |
| 14 | 14 | use yii\filters\AccessControl; |
| 15 | -use yii\helpers\ArrayHelper; |
|
| 16 | 15 | use yii\web\HttpException; |
| 17 | 16 | use yii\web\UploadedFile; |
| 18 | 17 | |
@@ -2,9 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\data\models; |
| 4 | 4 | |
| 5 | -use app\backgroundtasks\models\Task; |
|
| 6 | -use app\models\BaseObject; |
|
| 7 | 5 | use Yii; |
| 6 | +use app\models\BaseObject; |
|
| 8 | 7 | use yii\behaviors\TimestampBehavior; |
| 9 | 8 | |
| 10 | 9 | /** |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\data\models; |
| 4 | 4 | |
| 5 | -use app\models\BaseObject; |
|
| 6 | 5 | use Yii; |
| 6 | +use app\models\BaseObject; |
|
| 7 | 7 | use yii\behaviors\TimestampBehavior; |
| 8 | 8 | |
| 9 | 9 | /** |
@@ -2,12 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\image\models; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\backend\components\Helper; |
| 6 | 7 | use app\models\BaseObject; |
| 7 | 8 | use app\modules\page\models\Page; |
| 8 | 9 | use app\modules\shop\models\Category; |
| 9 | 10 | use app\modules\shop\models\Product; |
| 10 | -use Yii; |
|
| 11 | 11 | use yii\helpers\Html; |
| 12 | 12 | |
| 13 | 13 | /** |
@@ -2,12 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\image\models; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\behaviors\ImageExist; |
| 6 | 7 | use app\models\BaseObject; |
| 7 | -use app\modules\image\widgets\ImageDropzone; |
|
| 8 | 8 | use app\traits\FindById; |
| 9 | 9 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 10 | -use Yii; |
|
| 11 | 10 | use yii\base\Exception; |
| 12 | 11 | use yii\caching\TagDependency; |
| 13 | 12 | |
@@ -2,29 +2,29 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\page\backend; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 6 | +use app\backend\actions\MassPublishAction; |
|
| 5 | 7 | use app\backend\actions\PropertyHandler; |
| 6 | 8 | use app\backend\events\BackendEntityEditEvent; |
| 7 | 9 | use app\models\BaseObject; |
| 8 | 10 | use app\models\ObjectPropertyGroup; |
| 9 | 11 | use app\models\Property; |
| 10 | -use app\modules\image\models\Image; |
|
| 11 | -use app\modules\image\widgets\views\AddImageAction; |
|
| 12 | -use app\modules\page\models\Page; |
|
| 13 | 12 | use app\models\ViewObject; |
| 14 | -use app\properties\HasProperties; |
|
| 13 | +use app\modules\image\models\Image; |
|
| 15 | 14 | use app\modules\image\widgets\RemoveAction; |
| 16 | 15 | use app\modules\image\widgets\SaveInfoAction; |
| 17 | 16 | use app\modules\image\widgets\UploadAction; |
| 17 | +use app\modules\image\widgets\views\AddImageAction; |
|
| 18 | +use app\modules\page\models\Page; |
|
| 19 | +use app\properties\HasProperties; |
|
| 18 | 20 | use devgroup\JsTreeWidget\AdjacencyFullTreeDataAction; |
| 19 | 21 | use devgroup\JsTreeWidget\TreeNodeMoveAction; |
| 20 | 22 | use devgroup\JsTreeWidget\TreeNodesReorderAction; |
| 21 | -use Yii; |
|
| 22 | 23 | use yii\db\Query; |
| 23 | 24 | use yii\filters\AccessControl; |
| 24 | 25 | use yii\helpers\ArrayHelper; |
| 25 | 26 | use yii\helpers\Url; |
| 26 | 27 | use yii\web\NotFoundHttpException; |
| 27 | -use app\backend\actions\MassPublishAction; |
|
| 28 | 28 | |
| 29 | 29 | class PageController extends \app\backend\components\BackendController |
| 30 | 30 | { |