\naigc\v25Bracket

Functions related to Brackets.

Summary

Methods
Properties
Constants
__construct()
discipline()
level()
meet()
competitionGyms()
teams()
finalsQualification()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\naigc\v25\util\IMysql  $mysql, \naigc\v25\IMeet  $meet, \naigc\v25\IDiscipline  $discipline, \naigc\v25\ILevel  $level) : mixed

Creates a new Bracket object.

Parameters

\naigc\v25\util\IMysql $mysql

The database.

\naigc\v25\IMeet $meet

The Meet the Bracket is for.

\naigc\v25\IDiscipline $discipline

The Discipline the Bracket is for.

\naigc\v25\ILevel $level

The Level the Bracket is for.

Throws

\naigc\v25\exception\FailedMysqliPrepare
\naigc\v25\exception\FailedMysqliExecute
\naigc\v25\exception\Creation

Returns

mixed

discipline()

discipline() : \naigc\v25\IDiscipline

Gets the Discipline the Bracket is for.

Returns

\naigc\v25\IDiscipline —

The Discipline.

level()

level() : \naigc\v25\ILevel

Gets the Level the Bracket is for.

Returns

\naigc\v25\ILevel —

The Level.

meet()

meet() : \naigc\v25\IMeet

Gets the Meet the Bracket is part of.

Returns

\naigc\v25\IMeet —

The Meet.

competitionGyms()

competitionGyms() : \naigc\v25\ICompetitionGym[]

Gets the CompetitionGyms the Bracket is competed in.

Throws

\naigc\v25\exception\FailedMysqliPrepare
\naigc\v25\exception\FailedMysqliExecute

Returns

\naigc\v25\ICompetitionGym[] —

The array of CompetitionGyms.

teams()

teams() : \naigc\v25\ITeam[]

Gets the Teams competing in the Bracket.

Throws

\naigc\v25\exception\FailedMysqliPrepare
\naigc\v25\exception\FailedMysqliExecute

Returns

\naigc\v25\ITeam[] —

The array of Teams.

finalsQualification()

finalsQualification(\naigc\v25\IMeet  $finals) : \naigc\v25\IBracket

Creates the Teams, Competitors, CompetitorBrackets, and Routines for the qualifiers to finals in the Bracket.

Parameters

\naigc\v25\IMeet $finals

The meet that finals is in.

Throws

\naigc\v25\exception\FailedMysqliPrepare
\naigc\v25\exception\FailedMysqliExecute

Returns

\naigc\v25\IBracket