liquid_feedback_frontend
annotate model/survey_question.lua @ 1735:5a8a09119865
Added survey feature
author | bsw |
---|---|
date | Fri Oct 08 00:09:23 2021 +0200 (2021-10-08) |
parents | |
children |
rev | line source |
---|---|
bsw@1735 | 1 SurveyQuestion = mondelefant.new_class() |
bsw@1735 | 2 SurveyQuestion.table = 'survey_question' |
bsw@1735 | 3 |
bsw@1735 | 4 SurveyQuestion:add_reference{ |
bsw@1735 | 5 mode = 'm1', |
bsw@1735 | 6 to = "Survey", |
bsw@1735 | 7 this_key = 'survey_id', |
bsw@1735 | 8 that_key = 'id', |
bsw@1735 | 9 ref = 'survey', |
bsw@1735 | 10 } |