Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Lists all Contact models.
- * @return mixed
- */
- public function actionIndex()
- {
- $searchModel = new SearchContact();
- $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
- return $this->render('index', [
- 'searchModel' => $searchModel,
- 'dataProvider' => $dataProvider,
- ]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement