liquid_feedback_frontend
annotate model/survey_answer.lua @ 1795:2526423907d9
Added missing translations
author | bsw |
---|---|
date | Thu Oct 21 14:46:56 2021 +0200 (2021-10-21) |
parents | 5a8a09119865 |
children |
rev | line source |
---|---|
bsw@1735 | 1 SurveyAnswer = mondelefant.new_class() |
bsw@1735 | 2 SurveyAnswer.table = 'survey_answer' |
bsw@1735 | 3 |
bsw@1735 | 4 function SurveyAnswer:by_pk(survey_answer_set_ident, member_id) |
bsw@1735 | 5 return self:new_selector() |
bsw@1735 | 6 :add_where{ "survey_answer_set_ident = ?", survey_answer_set_ident } |
bsw@1735 | 7 :add_where{ "survey_question_id = ?", question_id } |
bsw@1735 | 8 :optional_object_mode() |
bsw@1735 | 9 :exec() |
bsw@1735 | 10 end |