liquid_feedback_frontend
annotate model/survey_answer.lua @ 1778:cd2f9dbeb56f
Added Spanish translation
| author | bsw | 
|---|---|
| date | Tue Oct 19 14:38:13 2021 +0200 (2021-10-19) | 
| 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 |