\GameSignupPage_Controller
Synopsis
class GameSignupPage_Controller
extends Page_Controller
{
- // members
- private static array $allowed_actions = ;
- // methods
- public void userGameRegOpen()
- public Form Form()
- public void renderGamesList()
- public void GameSignupFields()
- public void gamesessionasjson()
- public void addplayergames()
- public void handleAppEmails()
- public String getHasPlayed()
- public filepath handleFile()
- public void handleExistingGames()
- protected Game|null addPlayerGame()
- public void writeHasPlayed()
- public void writeSessionChoices()
- public void writeLuckyDip()
- public array yourgames()
- public void getGroupedPlayerGames()
- public void DisableFavourite()
- public void EnableLuckyDip()
Hierarchy
Extends
- Page_Controller
Tasks
Line | Task |
---|---|
146 | allow users to edit submitted game choices if option enabled, and within 10 minutes |
402 | - handle a proper 'change game' case |
Members
private
- $allowed_actions
Methods
protected
- addPlayerGame() — Attempts to save a game
public
- DisableFavourite()
- EnableLuckyDip()
- Form()
- GameSignupFields()
- addplayergames() — Handles adding new games
- gamesessionasjson()
- getGroupedPlayerGames()
- getHasPlayed() — Compile custom hasplayed records as a csv formatted string
- handleAppEmails() — Send an email with two csv attachments: * the HasPlayed Game list for this registration * the Player game selections for this player
- handleExistingGames()
- handleFile() — Generate the export and return the filepath if successful
- renderGamesList()
- userGameRegOpen()
- writeHasPlayed() — Write HasPlayed data for this registration
- writeLuckyDip() — A Lucky dip is a player game where the game itself hasn't been chosen.
- writeSessionChoices() — Write all games for this session that are less than our current number of preferences to write
- yourgames() — Returns data for the your games view (after game selection)