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