competitionEvent()
competitionEvent() : \naigc\v25\ICompetitionEvent
Gets the CompetitionEvent of the Routine.
Returns
\naigc\v25\ICompetitionEvent —The CompetitionEvent.
Functions related to IRoutines.
awardScore(\naigc\v25\IJudge $judge, \naigc\v25\IScorePanel $scorePanel, float $score, \naigc\v25\IPerson $scoredBy) : \naigc\v25\IRoutine
Awards a score to the Routine and adjusts the finalScore.
Checks to make sure the Routine's finalScore has not been verified. If it has not then it creates a Score and updates the finalScore.
| \naigc\v25\IJudge | $judge | The Judge awarding the Score. |
| \naigc\v25\IScorePanel | $scorePanel | The ScorePanel the Score is for. |
| float | $score | The Score. |
| \naigc\v25\IPerson | $scoredBy | The person entering the score. |
when the score has already been verified.
The Routine.
refreshFinalScore(\naigc\v25\IPerson $scoredBy) : \naigc\v25\IRoutine
Recalculates the FinalScore based on the Scores.
| \naigc\v25\IPerson | $scoredBy | The person entering the score. |
The Routine.
addQualification(\naigc\v25\IQualification $qualification) : \naigc\v25\IRoutine
Adds a new Qualification method to the Routine.
| \naigc\v25\IQualification | $qualification | The Qualification to add. |
The Routine.
removeQualification(\naigc\v25\IQualification $qualification) : \naigc\v25\IRoutine
Removes a Qualification method from the Routine.
| \naigc\v25\IQualification | $qualification | The Qualification to remove. |
The Routine.
__construct(\naigc\v25\util\IMysql $mysql, \naigc\v25\ICompetitorBracket $competitorBracket, \naigc\v25\IEvent $event) : mixed
Creates a new Routine object from routineID or associated keys.
| \naigc\v25\util\IMysql | $mysql | The database. |
| \naigc\v25\ICompetitorBracket | $competitorBracket | Competitor and bracket info. |
| \naigc\v25\IEvent | $event | The Event the Routine is on. |