@@ -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 | { |
@@ -2,7 +2,10 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\review\controllers; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 6 | +use app\components\SearchModel; |
|
| 5 | 7 | use app\models\BaseObject; |
| 8 | +use app\models\Submission; |
|
| 6 | 9 | use app\modules\page\models\Page; |
| 7 | 10 | use app\modules\review\models\Review; |
| 8 | 11 | use app\modules\shop\models\Category; |
@@ -11,10 +14,7 @@ discard block |
||
| 11 | 14 | use yii\filters\AccessControl; |
| 12 | 15 | use yii\helpers\Url; |
| 13 | 16 | use yii\web\BadRequestHttpException; |
| 14 | -use Yii; |
|
| 15 | 17 | use yii\web\NotFoundHttpException; |
| 16 | -use app\components\SearchModel; |
|
| 17 | -use app\models\Submission; |
|
| 18 | 18 | use yii\web\Response; |
| 19 | 19 | |
| 20 | 20 | class BackendReviewController extends \app\backend\components\BackendController |
@@ -2,12 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\review\models; |
| 4 | 4 | |
| 5 | -use app\models\BaseObject; |
|
| 6 | -use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
| 7 | 5 | use Yii; |
| 6 | +use app\models\BaseObject; |
|
| 8 | 7 | use app\models\Submission; |
| 9 | -use yii\caching\TagDependency; |
|
| 10 | 8 | use app\properties\HasProperties; |
| 9 | +use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
| 10 | +use yii\caching\TagDependency; |
|
| 11 | 11 | use yii\db\ActiveQuery; |
| 12 | 12 | use yii\db\ActiveRecord; |
| 13 | 13 | |
@@ -4,15 +4,15 @@ |
||
| 4 | 4 | * @var app\backgroundtasks\models\Task $searchModel |
| 5 | 5 | * @var \app\modules\review\models\Review|\app\properties\HasProperties $review |
| 6 | 6 | */ |
| 7 | +use app\backend\widgets\BackendWidget; |
|
| 8 | +use app\components\Helper; |
|
| 7 | 9 | use app\models\BaseObject; |
| 8 | -use app\models\PropertyGroup; |
|
| 9 | 10 | use app\models\Form; |
| 10 | -use kartik\form\ActiveForm; |
|
| 11 | -use app\backend\widgets\BackendWidget; |
|
| 11 | +use app\models\PropertyGroup; |
|
| 12 | 12 | use app\modules\review\models\Review; |
| 13 | -use yii\helpers\Html; |
|
| 13 | +use kartik\form\ActiveForm; |
|
| 14 | 14 | use kartik\icons\Icon; |
| 15 | -use app\components\Helper; |
|
| 15 | +use yii\helpers\Html; |
|
| 16 | 16 | |
| 17 | 17 | $this->title = Yii::t('app', 'Review show'); |
| 18 | 18 | $this->params['breadcrumbs'] = [ |
@@ -4,14 +4,14 @@ |
||
| 4 | 4 | * @var app\backgroundtasks\models\Task $searchModel |
| 5 | 5 | * @var $review \app\modules\review\models\Review |
| 6 | 6 | */ |
| 7 | -use kartik\helpers\Html; |
|
| 8 | 7 | use app\models\BaseObject; |
| 9 | -use app\models\PropertyGroup; |
|
| 10 | -use app\models\Property; |
|
| 11 | 8 | use app\models\Form; |
| 9 | +use app\models\Property; |
|
| 10 | +use app\models\PropertyGroup; |
|
| 11 | +use app\modules\review\models\Review; |
|
| 12 | +use kartik\helpers\Html; |
|
| 12 | 13 | use kartik\icons\Icon; |
| 13 | 14 | use yii\widgets\ActiveForm; |
| 14 | -use app\modules\review\models\Review; |
|
| 15 | 15 | |
| 16 | 16 | $this->title = Yii::t('app', 'Review show'); |
| 17 | 17 | $this->params['breadcrumbs'] = [ |
@@ -2,15 +2,15 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\review\widgets; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\components\ObjectRule; |
| 7 | +use app\models\BaseObject; |
|
| 6 | 8 | use app\models\Form; |
| 9 | +use app\models\PropertyGroup; |
|
| 7 | 10 | use app\modules\review\models\Review; |
| 8 | 11 | use yii\base\InvalidParamException; |
| 9 | 12 | use yii\base\Widget; |
| 10 | 13 | use yii\data\ArrayDataProvider; |
| 11 | -use Yii; |
|
| 12 | -use app\models\BaseObject; |
|
| 13 | -use app\models\PropertyGroup; |
|
| 14 | 14 | use yii\db\ActiveRecord; |
| 15 | 15 | |
| 16 | 16 | class ReviewsWidget extends Widget |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\seo\models; |
| 4 | 4 | |
| 5 | -use app\models\BaseObject; |
|
| 6 | 5 | use Yii; |
| 6 | +use app\models\BaseObject; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * This is the model class for table "{{%open_graph_object}}". |
@@ -2,22 +2,20 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\shop\backend; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 6 | +use app\backend\actions\DeleteOne; |
|
| 7 | +use app\backend\actions\MultipleDelete; |
|
| 5 | 8 | use app\backend\components\BackendController; |
| 9 | +use app\backend\traits\BackendRedirect; |
|
| 6 | 10 | use app\models\BaseObject; |
| 7 | 11 | use app\modules\shop\models\Addon; |
| 8 | -use app\modules\shop\models\AddonBindings; |
|
| 12 | +use app\modules\shop\models\AddonCategory; |
|
| 9 | 13 | use app\modules\shop\models\Currency; |
| 10 | 14 | use app\modules\shop\widgets\AddonsListWidget; |
| 11 | 15 | use app\traits\LoadModel; |
| 12 | -use app\backend\traits\BackendRedirect; |
|
| 13 | -use app\backend\actions\MultipleDelete; |
|
| 14 | -use app\backend\actions\DeleteOne; |
|
| 15 | -use app\modules\shop\models\AddonCategory; |
|
| 16 | -use Yii; |
|
| 17 | 16 | use yii\caching\TagDependency; |
| 18 | 17 | use yii\filters\AccessControl; |
| 19 | 18 | use yii\helpers\Html; |
| 20 | -use yii\helpers\Url; |
|
| 21 | 19 | use yii\web\BadRequestHttpException; |
| 22 | 20 | use yii\web\NotFoundHttpException; |
| 23 | 21 | use yii\web\Response; |
@@ -2,19 +2,18 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\shop\backend; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\backend\components\BackendController; |
| 6 | -use app\modules\shop\models\Category; |
|
| 7 | 7 | use app\models\BaseObject; |
| 8 | -use app\modules\shop\models\Product; |
|
| 9 | 8 | use app\models\Property; |
| 10 | 9 | use app\models\PropertyGroup; |
| 11 | 10 | use app\models\PropertyStaticValues; |
| 11 | +use app\modules\shop\models\Category; |
|
| 12 | 12 | use app\modules\shop\models\FilterSets; |
| 13 | +use app\modules\shop\models\Product; |
|
| 14 | +use devgroup\JsTreeWidget\AdjacencyFullTreeDataAction; |
|
| 13 | 15 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 14 | -use Yii; |
|
| 15 | -use yii\debug\components\search\Filter; |
|
| 16 | 16 | use yii\filters\AccessControl; |
| 17 | -use devgroup\JsTreeWidget\AdjacencyFullTreeDataAction; |
|
| 18 | 17 | use yii\web\BadRequestHttpException; |
| 19 | 18 | use yii\web\NotFoundHttpException; |
| 20 | 19 | use yii\web\Response; |