/**
  * Lists all Travellers models.
  * @return mixed
  */
 public function actionImagegallery($id)
 {
     $travellerVerification = TravellersVerification::find()->where(['traveller_id' => $id])->one();
     $travellercountries = TravellersCountries::find()->where(['traveller_id' => $id])->one();
     return $this->render('imagegallery', ['model' => $this->findModel($id), 'travellercountries' => $travellercountries, 'traveller_id' => $id, 'travellerVerification' => $travellerVerification]);
 }
 /**
  * Finds the TravellersVerification model based on its primary key value.
  * If the model is not found, a 404 HTTP exception will be thrown.
  * @param integer $id
  * @return TravellersVerification the loaded model
  * @throws NotFoundHttpException if the model cannot be found
  */
 protected function findModel($id)
 {
     if (($model = TravellersVerification::findOne($id)) !== null) {
         return $model;
     } else {
         throw new NotFoundHttpException('The requested page does not exist.');
     }
 }