Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raffle framework for custom raffle generation. #36

Closed
pw10n opened this issue Apr 27, 2010 · 1 comment
Closed

Raffle framework for custom raffle generation. #36

pw10n opened this issue Apr 27, 2010 · 1 comment

Comments

@pw10n
Copy link
Owner

pw10n commented Apr 27, 2010

Proposed change:

  • new "plugins/raffle" directory
  • a raffle plugin is a .php file containing a class
    • minimally has:
      • SQL query for winner
      • PHP function to interpret data (eg. if returned data should be a list of winners, etc)
      • String name of the raffle type
    • eventually should have:
      • user-specifiable parameters (ie something they can choose in the ui (ex which event a raffle should be for))
        • some free entry parameters
        • some pre-defined option parameters
        • some parameters who's options depend on the db (ex the events list)
@brianopp
Copy link
Collaborator

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants