liquid_feedback_frontend

annotate model/direct_interest_snapshot.lua @ 213:acf92c2d33f4

Seperated css and fixed issue delegations for second generation frontend
author bsw
date Thu Mar 03 21:26:35 2011 +0100 (2011-03-03)
parents 4993b71b383f
children
rev   line source
bsw@211 1 DirectInterestSnapshot = mondelefant.new_class()
bsw@211 2 DirectInterestSnapshot.table = 'direct_interest_snapshot'
bsw@211 3 DirectInterestSnapshot.primary_key = { "issue_id", "event", "member_id" }
bsw@211 4
bsw@211 5 function DirectInterestSnapshot:by_pk(issue_id, event, member_id)
bsw@211 6 return self:new_selector()
bsw@211 7 :add_where{ "issue_id = ? AND event = ? AND member_id = ?", issue_id, event, member_id }
bsw@211 8 :optional_object_mode()
bsw@211 9 :exec()
bsw@211 10 end

Impressum / About Us