\naigc\v25ICompetitionGym

Functions related to CompetitionGyms.

Summary

Methods
Constants
name()
disciplines()
disciplineEvents()
competitionGymEvents()
routinesLastScored()
meet()
color()
scoreSheets()
jsonSerialize()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

name()

name() : string

Gets the Name of the object.

Returns

string —

The name.

disciplines()

disciplines() : \naigc\v25\IDiscipline[]

Gets an ordered array of the Disciplines in the CompetitionGym.

Returns

\naigc\v25\IDiscipline[] —

The array of Disciplines.

disciplineEvents()

disciplineEvents(\naigc\v25\IDiscipline|null  $discipline = null) : \naigc\v25\IDisciplineEvent[]

Gets an ordered array of the DisciplineEvents in the CompetitionGym.

Parameters

\naigc\v25\IDiscipline|null $discipline

Optional. A Discipline to filter by.

Returns

\naigc\v25\IDisciplineEvent[] —

The array of DisciplineEvents.

competitionGymEvents()

competitionGymEvents() : \naigc\v25\ICompetitionGymEvent[]

Gets an ordered array of the CompetitionGymEvents in the CompetitionGym.

Returns

\naigc\v25\ICompetitionGymEvent[] —

The array of CompetitionGymEvents.

routinesLastScored()

routinesLastScored(\naigc\v25\IDisciplineEvent  $disciplineEvent, int|null  $limit = null) : \naigc\v25\IRoutine[]

Gets an array of the Routines most recently awarded a Score on an Event.

Parameters

\naigc\v25\IDisciplineEvent $disciplineEvent

The Event to get Routines on.

int|null $limit

Optional. The maximum number to return.

Returns

\naigc\v25\IRoutine[] —

The Routines.

meet()

meet() : \naigc\v25\IMeet

Gets the Meet the CompetitionGym is a location for.

Returns

\naigc\v25\IMeet —

The Meet.

color()

color() : string

Gets the hex color associated with the CompetitionGym.

Returns

string —

The hex color.

scoreSheets()

scoreSheets() : \naigc\v25\IScoreSheet[]

Gets the ScoreSheets for the CompetitionGym sorted by Club and Session.

Returns

\naigc\v25\IScoreSheet[] —

The ScoreSheets.

jsonSerialize()

jsonSerialize() : array

Serializes object into json format for available properties

Returns

array