Advertisement
nazmiwafiy

actionView

Dec 6th, 2018
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1.     /**
  2.      * Displays a single Contact model.
  3.      * @param integer $id
  4.      * @return mixed
  5.      */
  6.     public function actionView($id)
  7.     {
  8.         return $this->render('view', [
  9.             'model' => $this->findModel($id),
  10.         ]);
  11.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement