\naigc\v25\displayProjectorPage

Stores the layout for a Page of the Display.

Summary

Methods
Properties
Constants
__construct()
displayLimit()
changeDisplayLimit()
displaySeconds()
changeDisplaySeconds()
event()
changeEvent()
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() : mixed

Creates a new Page object.

Returns

mixed

displayLimit()

displayLimit() : int

Gets the number of scores displayed per event.

Returns

int —

The number of scores.

changeDisplayLimit()

changeDisplayLimit(int  $displayLimit) : \naigc\v25\displayProjector\Page

Changes the number of scores displayed per event.

Parameters

int $displayLimit

The new number to display.

Returns

\naigc\v25\displayProjector\Page

displaySeconds()

displaySeconds() : int

Gets the length of time the Page is displayed.

Returns

int —

The number of seconds.

changeDisplaySeconds()

changeDisplaySeconds(int  $displaySeconds) : \naigc\v25\displayProjector\Page

Changes the length of time the Page is displayed.

Parameters

int $displaySeconds

The new time.

Returns

\naigc\v25\displayProjector\Page

event()

event(string  $location) : \naigc\v25\ICompetitionGymEvent|null

Gets the CompetitionGymEvent for a location.

Parameters

string $location

The location on the page the Event is displayed.

Throws

\RangeException

When the location is invalid.

Returns

\naigc\v25\ICompetitionGymEvent|null

changeEvent()

changeEvent(string  $location, \naigc\v25\ICompetitionGymEvent|null  $competitionGymEvent = null) : \naigc\v25\displayProjector\Page

Changes the CompetitionGymEvent for a location.

Parameters

string $location

The location on the page to display the Event.

\naigc\v25\ICompetitionGymEvent|null $competitionGymEvent

Optional. The Event to display.

Throws

\RangeException

When the location is invalid.

Returns

\naigc\v25\displayProjector\Page