public function actionIndex()
    {
        /** @var \amnah\yii2\user\models\search\UserSearch $searchModel */
        $searchModel = $this->module->model("UserSearch");
        $dataProvider = $searchModel->search(Yii::$app->request->getQueryParams());

        return $this->render('index', compact('searchModel', 'dataProvider'));
    }
public function actionIndex()
    {
        /** @var \amnah\yii2\user\models\search\UserSearch $searchModel */
        $searchModel = $this->module->model("UserSearch");
        $dataProvider = $searchModel->search(Yii::$app->request->getQueryParams());

        return $this->render('index', compact('searchModel', 'dataProvider'));
    }
public function actionIndex ( ) { /** @var \amnah\yii2\user\models\search\UserSearch $searchModel */ $ searchModel = $ this -> module -> model ( "UserSearch" ) ; $ dataProvider = $ searchModel -> search ( Yii :: $ app -> request -> getQueryParams ( ) ) ; return $ this -> render ( 'index' , compact ( 'searchModel' , 'dataProvider' ) ) ; }
List all User models
@return mixed
List all User models