Implements the raffle widget.
Provides the model for the raffle widget.
Number of points required to earn a raffle ticket
RafflePrize model
Parameters: |
|
---|
Adds a ticket from the user if they have one. Throws an exception if they cannot add a ticket.
Raffle ticket model
Parameters: |
|
---|
Handle rendering of the raffle widget.
Adds a user’s raffle ticket to the prize.
Handle change Round for selected Raffle Prizes from the admin interface.
Sends an email to the user notifying them that they are a winner.
Picks the raffle game winners for the raffle deadline that has passed.
display summary of the winners.
Generates the raffle prize list and renders to page.
Raffle widget administration