@@ -1,6 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use yii\db\Schema; |
|
| 4 | 3 | use yii\db\Migration; |
| 5 | 4 | |
| 6 | 5 | class m150609_064330_backend_menu extends Migration |
@@ -13,14 +13,14 @@ |
||
| 13 | 13 | * @property string $link_slug_category |
| 14 | 14 | * @property string $link_slug_static_value |
| 15 | 15 | */ |
| 16 | +use Yii; |
|
| 16 | 17 | use app\modules\data\models\Export; |
| 17 | 18 | use app\modules\data\models\Import; |
| 18 | -use Yii; |
|
| 19 | +use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
| 19 | 20 | use yii\caching\TagDependency; |
| 20 | 21 | use yii\db\ActiveRecord; |
| 21 | 22 | use yii\db\Query; |
| 22 | 23 | use yii\helpers\ArrayHelper; |
| 23 | -use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
| 24 | 24 | |
| 25 | 25 | class Object extends ActiveRecord implements \JsonSerializable |
| 26 | 26 | { |
@@ -2,12 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\models; |
| 4 | 4 | |
| 5 | -use app\modules\shop\models\Product; |
|
| 5 | +use Yii; |
|
| 6 | 6 | use app\properties\HasProperties; |
| 7 | 7 | use app\traits\GetImages; |
| 8 | 8 | use app\traits\SortModels; |
| 9 | 9 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 10 | -use Yii; |
|
| 11 | 10 | use yii\behaviors\AttributeBehavior; |
| 12 | 11 | use yii\caching\TagDependency; |
| 13 | 12 | use yii\data\ActiveDataProvider; |
@@ -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,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\core\controllers; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\backend\components\BackendController; |
| 6 | 7 | use app\backend\traits\BackendRedirect; |
| 7 | -use yii\filters\AccessControl; |
|
| 8 | 8 | use app\modules\core\models\ContentBlock; |
| 9 | -use Yii; |
|
| 9 | +use yii\filters\AccessControl; |
|
| 10 | 10 | use yii\helpers\Url; |
| 11 | 11 | use yii\web\NotFoundHttpException; |
| 12 | 12 | |
@@ -2,12 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\core; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app; |
| 6 | 7 | use app\components\BaseModule; |
| 7 | -use app\components\Controller; |
|
| 8 | 8 | use app\modules\core\models\ContentDecorator; |
| 9 | - |
|
| 10 | -use Yii; |
|
| 11 | 9 | use yii\base\Application; |
| 12 | 10 | use yii\base\BootstrapInterface; |
| 13 | 11 | /** |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace app\modules\core\helpers; |
| 3 | 3 | |
| 4 | +use app; |
|
| 4 | 5 | use app\modules\core\models\ContentBlock; |
| 5 | 6 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 7 | +use yii; |
|
| 6 | 8 | use yii\caching\TagDependency; |
| 7 | 9 | use yii\helpers\ArrayHelper; |
| 8 | -use yii; |
|
| 9 | -use app; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Class ContentBlockHelper |