@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use yii\helpers\Html; |
|
| 4 | -use yii\grid\GridView; |
|
| 5 | 3 | use modules\rbac\Module; |
| 4 | +use yii\grid\GridView; |
|
| 5 | +use yii\helpers\Html; |
|
| 6 | 6 | |
| 7 | 7 | /* @var $this yii\web\View */ |
| 8 | 8 | /* @var $dataProvider yii\data\ActiveDataProvider */ |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use yii\helpers\Url; |
|
| 4 | -use modules\users\Module as UserModule; |
|
| 5 | -use modules\rbac\Module as RbacModule; |
|
| 6 | 3 | use modules\main\Module; |
| 4 | +use modules\rbac\Module as RbacModule; |
|
| 5 | +use modules\users\Module as UserModule; |
|
| 6 | +use yii\helpers\Url; |
|
| 7 | 7 | |
| 8 | 8 | /* @var $this yii\web\View */ |
| 9 | 9 | |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace modules\users\models; |
| 4 | 4 | |
| 5 | 5 | use Yii; |
| 6 | -use yii\base\Model; |
|
| 7 | 6 | use modules\users\Module; |
| 7 | +use yii\base\Model; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Class LoginForm |
@@ -2,12 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace modules\users\widgets\profile\aboutMeBox; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | -use yii\base\Widget; |
|
| 7 | -use yii\helpers\Url; |
|
| 8 | -use yii\helpers\ArrayHelper; |
|
| 5 | +use Yii; |
|
| 6 | +use modules\users\models\User; |
|
| 7 | +use yii\base\Widget; |
|
| 8 | +use yii\helpers\ArrayHelper; |
|
| 9 | 9 | use yii\helpers\Html; |
| 10 | -use modules\users\models\User; |
|
| 11 | 10 | |
| 12 | 11 | /** |
| 13 | 12 | * Class AboutMeBoxWidget |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace modules\users\widgets\profile\profileImage; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | -use yii\base\Widget; |
|
| 7 | -use yii\helpers\ArrayHelper; |
|
| 5 | +use Yii; |
|
| 6 | +use modules\users\models\User; |
|
| 7 | +use yii\base\Widget; |
|
| 8 | +use yii\helpers\ArrayHelper; |
|
| 8 | 9 | use yii\helpers\Html; |
| 9 | -use modules\users\models\User; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Class ProfileImageWidget |
@@ -2,12 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace modules\users\widgets\profile\tabsBox; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | -use yii\base\Widget; |
|
| 7 | -use yii\helpers\Url; |
|
| 8 | -use yii\helpers\ArrayHelper; |
|
| 5 | +use Yii; |
|
| 6 | +use modules\users\models\User; |
|
| 7 | +use yii\base\Widget; |
|
| 8 | +use yii\helpers\ArrayHelper; |
|
| 9 | 9 | use yii\helpers\Html; |
| 10 | -use modules\users\models\User; |
|
| 11 | 10 | |
| 12 | 11 | /** |
| 13 | 12 | * Class TabsBoxWidget |
@@ -2,14 +2,14 @@ |
||
| 2 | 2 | namespace modules\rbac\controllers\backend; |
| 3 | 3 | |
| 4 | 4 | use Yii; |
| 5 | +use modules\rbac\Module; |
|
| 5 | 6 | use modules\rbac\models\Assignment; |
| 7 | +use yii\base\InvalidConfigException; |
|
| 6 | 8 | use yii\data\ArrayDataProvider; |
| 7 | -use yii\web\Controller; |
|
| 8 | -use yii\filters\VerbFilter; |
|
| 9 | 9 | use yii\filters\AccessControl; |
| 10 | -use yii\base\InvalidConfigException; |
|
| 10 | +use yii\filters\VerbFilter; |
|
| 11 | +use yii\web\Controller; |
|
| 11 | 12 | use yii\web\NotFoundHttpException; |
| 12 | -use modules\rbac\Module; |
|
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * Class AssignController |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | namespace modules\users\commands; |
| 3 | 3 | |
| 4 | 4 | use Yii; |
| 5 | +use console\components\helpers\Console; |
|
| 5 | 6 | use modules\users\models\User; |
| 6 | 7 | use yii\base\Model; |
| 7 | 8 | use yii\console\Controller; |
| 8 | 9 | use yii\console\Exception; |
| 9 | -use console\components\helpers\Console; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Class UsersController |
@@ -2,16 +2,16 @@ |
||
| 2 | 2 | namespace modules\users\controllers\backend; |
| 3 | 3 | |
| 4 | 4 | use Yii; |
| 5 | +use modules\rbac\models\Assignment; |
|
| 6 | +use modules\rbac\models\Permission; |
|
| 7 | +use modules\users\Module; |
|
| 5 | 8 | use modules\users\models\LoginForm; |
| 6 | 9 | use modules\users\models\User; |
| 7 | 10 | use modules\users\models\search\UserSearch; |
| 11 | +use yii\filters\AccessControl; |
|
| 12 | +use yii\filters\VerbFilter; |
|
| 8 | 13 | use yii\web\Controller; |
| 9 | 14 | use yii\web\NotFoundHttpException; |
| 10 | -use yii\filters\VerbFilter; |
|
| 11 | -use yii\filters\AccessControl; |
|
| 12 | -use modules\rbac\models\Permission; |
|
| 13 | -use modules\rbac\models\Assignment; |
|
| 14 | -use modules\users\Module; |
|
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * Class DefaultController |