Example #1
0
 public static function getTranslationRecord($parameters)
 {
     return Hotel::join('007_171_hotel_lang', '007_170_hotel.id_170', '=', '007_171_hotel_lang.id_171')->join('001_001_lang', '007_171_hotel_lang.lang_id_171', '=', '001_001_lang.id_001')->where('id_170', $parameters['id'])->where('lang_id_171', $parameters['lang'])->first();
 }