original_string: public function actionIndex()
      {
          $searchModel = new UserSearch();
          $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
  
          $statusArray = User::getStatusArray();
          $roleArray = ArrayHelper::map(Yii::$app->authManager->getRoles(), 'name', 'description');
  
          return $this->render('index', [
              'searchModel' => $searchModel,
              'dataProvider' => $dataProvider,
              'statusArray' => $statusArray,
              'roleArray' => $roleArray
          ]);
      }
code: public function actionIndex()
      {
          $searchModel = new UserSearch();
          $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
  
          $statusArray = User::getStatusArray();
          $roleArray = ArrayHelper::map(Yii::$app->authManager->getRoles(), 'name', 'description');
  
          return $this->render('index', [
              'searchModel' => $searchModel,
              'dataProvider' => $dataProvider,
              'statusArray' => $statusArray,
              'roleArray' => $roleArray
          ]);
      }
code_tokens: public function actionIndex ( ) { $ searchModel = new UserSearch ( ) ; $ dataProvider = $ searchModel -> search ( Yii :: $ app -> request -> queryParams ) ; $ statusArray = User :: getStatusArray ( ) ; $ roleArray = ArrayHelper :: map ( Yii :: $ app -> authManager -> getRoles ( ) , 'name' , 'description' ) ; return $ this -> render ( 'index' , [ 'searchModel' => $ searchModel , 'dataProvider' => $ dataProvider , 'statusArray' => $ statusArray , 'roleArray' => $ roleArray ] ) ; }
docstring: Users list page.
docstring_tokens: Users list page .