@@ -2,19 +2,19 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app; |
6 | 7 | use app\backend\BackendModule; |
7 | 8 | use app\components\BaseModule; |
9 | +use app\models\Object; |
|
8 | 10 | use app\modules\shop\handlers\UserHandler; |
9 | 11 | use app\modules\shop\models\ConfigConfigurationModel; |
12 | +use app\modules\shop\models\Product; |
|
10 | 13 | use kartik\icons\Icon; |
11 | -use Yii; |
|
12 | 14 | use yii\base\Application; |
13 | 15 | use yii\base\BootstrapInterface; |
14 | 16 | use yii\base\Event; |
15 | 17 | use yii\helpers\Json; |
16 | -use app\models\Object; |
|
17 | -use app\modules\shop\models\Product; |
|
18 | 18 | use yii\web\User; |
19 | 19 | |
20 | 20 | /** |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace app\widgets\navigation\models; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backgroundtasks\traits\SearchModelTrait; |
6 | 7 | use app\behaviors\Tree; |
7 | 8 | use app\properties\HasProperties; |
8 | 9 | use app\traits\FindById; |
9 | 10 | use app\traits\GetImages; |
10 | -use Yii; |
|
11 | 11 | use yii\data\ActiveDataProvider; |
12 | 12 | |
13 | 13 | /** |
@@ -2,22 +2,22 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\page\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\components\Controller; |
7 | +use app\models\Search; |
|
6 | 8 | use app\modules\core\helpers\ContentBlockHelper; |
7 | 9 | use app\modules\core\models\ContentBlock; |
8 | 10 | use app\modules\page\models\Page; |
9 | -use app\models\Search; |
|
11 | +use app\modules\seo\behaviors\SetCanonicalBehavior; |
|
10 | 12 | use app\traits\LoadModel; |
11 | 13 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
12 | -use Yii; |
|
13 | 14 | use yii\caching\TagDependency; |
14 | 15 | use yii\data\Pagination; |
15 | 16 | use yii\db\ActiveQuery; |
17 | +use yii\helpers\Url; |
|
16 | 18 | use yii\web\ForbiddenHttpException; |
17 | 19 | use yii\web\NotFoundHttpException; |
18 | 20 | use yii\web\Response; |
19 | -use app\modules\seo\behaviors\SetCanonicalBehavior; |
|
20 | -use yii\helpers\Url; |
|
21 | 21 | |
22 | 22 | class PageController extends Controller |
23 | 23 | { |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | +use app\backend\components\ActiveForm; |
|
3 | 4 | use app\backend\widgets\BackendWidget; |
5 | +use app\backend\widgets\GridView; |
|
4 | 6 | use app\modules\shop\controllers\BackendProductController; |
5 | 7 | use app\modules\shop\models\Product; |
6 | -use app\backend\widgets\GridView; |
|
7 | 8 | use kartik\helpers\Html; |
8 | 9 | use kartik\icons\Icon; |
9 | -use app\backend\components\ActiveForm; |
|
10 | 10 | use kartik\widgets\DateTimePicker; |
11 | 11 | use yii\data\ActiveDataProvider; |
12 | 12 | use yii\helpers\Url; |