@@ -2,6 +2,7 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | namespace app\extensions\DefaultTheme\backend; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\backend\components\BackendController; |
| 6 | 7 | use app\backend\traits\BackendRedirect; |
| 7 | 8 | use app\extensions\DefaultTheme\models\BaseWidgetConfigurationModel; |
@@ -12,8 +13,6 @@ discard block |
||
| 12 | 13 | use app\extensions\DefaultTheme\models\WidgetConfigurationModel; |
| 13 | 14 | use app\traits\LoadModel; |
| 14 | 15 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 15 | -use Yii; |
|
| 16 | -use yii\base\DynamicModel; |
|
| 17 | 16 | use yii\helpers\Json; |
| 18 | 17 | use yii\web\BadRequestHttpException; |
| 19 | 18 | use yii\web\NotFoundHttpException; |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\extensions\DefaultTheme\components; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\components\ViewElementsGathener; |
| 6 | 7 | use app\extensions\DefaultTheme\models\ThemeActiveWidgets; |
| 7 | 8 | use app\extensions\DefaultTheme\models\ThemeWidgets; |
| 8 | 9 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 9 | -use Yii; |
|
| 10 | 10 | use yii\base\InvalidConfigException; |
| 11 | 11 | use yii\base\Widget; |
| 12 | 12 | use yii\caching\TagDependency; |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\extensions\DefaultTheme\components; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\extensions\DefaultTheme\models\ThemeVariation; |
| 6 | 7 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 7 | -use Yii; |
|
| 8 | 8 | use yii\caching\TagDependency; |
| 9 | 9 | |
| 10 | 10 | abstract class VariationMatcher |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\extensions\DefaultTheme\models; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | - |
|
| 7 | 5 | class BaseWidgetConfigurationModel extends WidgetConfigurationModel |
| 8 | 6 | { |
| 9 | 7 | public $configurationJson = '{}'; |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\extensions\DefaultTheme\models; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app; |
| 6 | 7 | use app\extensions\DefaultTheme\components\StylesCompiler; |
| 7 | -use Yii; |
|
| 8 | 8 | use yii\helpers\ArrayHelper; |
| 9 | 9 | use yii\web\UploadedFile; |
| 10 | 10 | |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\extensions\DefaultTheme\models; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\extensions\DefaultTheme\components\VariationMatcher; |
| 6 | 7 | use app\traits\IdentityMap; |
| 7 | -use Yii; |
|
| 8 | 8 | use \devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 9 | 9 | use yii\caching\TagDependency; |
| 10 | 10 | use yii\data\ActiveDataProvider; |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\extensions\DefaultTheme\widgets\PagesList; |
| 4 | 4 | |
| 5 | -use app\modules\page\models\Page; |
|
| 6 | 5 | use app\extensions\DefaultTheme\components\BaseWidget; |
| 6 | +use app\modules\page\models\Page; |
|
| 7 | 7 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 8 | 8 | use yii\caching\TagDependency; |
| 9 | 9 | |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use yii\db\Schema; |
|
| 4 | 3 | use yii\db\Migration; |
| 4 | +use yii\db\Schema; |
|
| 5 | 5 | |
| 6 | 6 | class m150403_101144_config_value_type_change extends Migration |
| 7 | 7 | { |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use yii\db\Schema; |
|
| 4 | 3 | use yii\db\Migration; |
| 4 | +use yii\db\Schema; |
|
| 5 | 5 | |
| 6 | 6 | class m150430_084230_commerceml extends Migration |
| 7 | 7 | { |