public function actionInbox()
    {
        $searchModel = new MessageReceiver();
        return $this->render('inbox', [
            'dataProvider' => $searchModel->search(Yii::$app->request->get()),
            'searchModel' => $searchModel
        ]);
    }
public function actionInbox()
    {
        $searchModel = new MessageReceiver();
        return $this->render('inbox', [
            'dataProvider' => $searchModel->search(Yii::$app->request->get()),
            'searchModel' => $searchModel
        ]);
    }
public function actionInbox ( ) { $ searchModel = new MessageReceiver ( ) ; return $ this -> render ( 'inbox' , [ 'dataProvider' => $ searchModel -> search ( Yii :: $ app -> request -> get ( ) ) , 'searchModel' => $ searchModel ] ) ; }
Listing the messages inbox.
@return string
Listing the messages inbox .