public function actionIndex()
    {
            $partners = PartnerRequest::find()->all();
            $searchModel = new SearchPartnerRequest();
            $dataProvider = $searchModel->search(Yii::$app->request->queryParams);

            return $this->render('index', [
                'partners' => $partners,
                'searchModel' => $searchModel,
                'dataProvider' => $dataProvider,
            ]);
    }
public function actionIndex()
    {
            $partners = PartnerRequest::find()->all();
            $searchModel = new SearchPartnerRequest();
            $dataProvider = $searchModel->search(Yii::$app->request->queryParams);

            return $this->render('index', [
                'partners' => $partners,
                'searchModel' => $searchModel,
                'dataProvider' => $dataProvider,
            ]);
    }
public function actionIndex ( ) { $ partners = PartnerRequest :: find ( ) -> all ( ) ; $ searchModel = new SearchPartnerRequest ( ) ; $ dataProvider = $ searchModel -> search ( Yii :: $ app -> request -> queryParams ) ; return $ this -> render ( 'index' , [ 'partners' => $ partners , 'searchModel' => $ searchModel , 'dataProvider' => $ dataProvider , ] ) ; }
Lists all PartnerRequest models.
@return mixed
@throws ForbiddenHttpException
Lists all PartnerRequest models .