liquid_feedback_frontend

view model/member_count.lua @ 924:20aaef1a5155

Added tag v2.1.0 for changeset d6de7aae0b3e
author jbe
date Mon Oct 15 21:21:13 2012 +0200 (2012-10-15)
parents 6c29e35cbdd3
children a85f7ea61ef6
line source
1 MemberCount = mondelefant.new_class()
2 MemberCount.table = 'member_count'
4 function MemberCount:get()
5 if not MemberCount.total_count then
6 MemberCount.total_count = self:new_selector():single_object_mode():exec().total_count
7 end
8 return MemberCount.total_count
9 end

Impressum / About Us