public actionView ( integer $id ) : mixed | ||
$id | integer | |
리턴 | mixed |
public function actionView($id)
{
$model = AuditMail::findOne($id);
if (!$model) {
throw new NotFoundHttpException('The requested mail does not exist.');
}
return $this->render('view', ['model' => $model]);
}