@@ -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 | /** |
@@ -86,6 +86,9 @@ |
||
| 86 | 86 | return $result; |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | + /** |
|
| 90 | + * @param string $tag |
|
| 91 | + */ |
|
| 89 | 92 | protected function generateItem($tag, $data) |
| 90 | 93 | { |
| 91 | 94 | $content = ""; |
@@ -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 | /** |
@@ -5,5 +5,8 @@ |
||
| 5 | 5 | |
| 6 | 6 | interface ModificationDataInterface |
| 7 | 7 | { |
| 8 | + /** |
|
| 9 | + * @return void |
|
| 10 | + */ |
|
| 8 | 11 | public static function processData(ModificationDataEvent $event); |
| 9 | 12 | } |
| 10 | 13 | \ No newline at end of file |
@@ -168,7 +168,7 @@ |
||
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | /** |
| 171 | - * @return array |
|
| 171 | + * @return string[] |
|
| 172 | 172 | */ |
| 173 | 173 | public function getOfferElements() |
| 174 | 174 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Yii; |
| 6 | 6 | use app\properties\AbstractPropertyEavModel; |
| 7 | 7 | use yii\helpers\FileHelper; |
| 8 | -use yii\helpers\VarDumper; |
|
| 9 | 8 | use yii\web\NotFoundHttpException; |
| 10 | 9 | use yii\web\Response; |
| 11 | 10 | use yii\web\UploadedFile; |
@@ -78,6 +78,11 @@ |
||
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | |
| 81 | + /** |
|
| 82 | + * @param string $relationName |
|
| 83 | + * |
|
| 84 | + * @return string |
|
| 85 | + */ |
|
| 81 | 86 | protected static function getRelation($model, $relationName, $default_value = '') |
| 82 | 87 | { |
| 83 | 88 | $result = $default_value; |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | public static $returnUrlWithoutHistory = false; |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @param int $depth |
|
| 20 | 19 | * @return string |
| 21 | 20 | */ |
| 22 | 21 | public static function getReturnUrl() |
@@ -2,12 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\backend\components; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\backend\BackendModule; |
| 6 | 7 | use app\components\BaseModule; |
| 7 | -use Yii; |
|
| 8 | +use kartik\icons\Icon; |
|
| 8 | 9 | use yii\db\ActiveRecord; |
| 9 | 10 | use yii\helpers\Html; |
| 10 | -use kartik\icons\Icon; |
|
| 11 | 11 | |
| 12 | 12 | class Helper |
| 13 | 13 | { |
@@ -2,13 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\page\controllers; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\components\Controller; |
| 6 | -use app\modules\page\models\Page; |
|
| 7 | 7 | use app\models\Search; |
| 8 | -use app\modules\seo\behaviors\MetaBehavior; |
|
| 8 | +use app\modules\page\models\Page; |
|
| 9 | 9 | use app\traits\LoadModel; |
| 10 | 10 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 11 | -use Yii; |
|
| 12 | 11 | use yii\caching\TagDependency; |
| 13 | 12 | use yii\data\Pagination; |
| 14 | 13 | use yii\db\ActiveQuery; |
@@ -2,14 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\controllers; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\actions\SubmitFormAction; |
| 6 | -use app\backend\actions\PropertyHandler; |
|
| 7 | -use app\models\Form; |
|
| 8 | 7 | use app\models\Search; |
| 9 | -use app\modules\core\components\MailComponent; |
|
| 10 | 8 | use app\modules\shop\models\Product; |
| 11 | -use app\modules\seo\behaviors\MetaBehavior; |
|
| 12 | -use Yii; |
|
| 13 | 9 | use yii\helpers\Url; |
| 14 | 10 | use yii\web\Controller; |
| 15 | 11 | use yii\web\Response; |