\naigc\v25Badge

Functions related to Badges.

Summary

Methods
Properties
Constants
__construct()
name()
club()
titles()
colors()
sessions()
gyms()
gymColors()
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, string  $nameFirst, string  $nameLast, string  $clubName, string  $titles, string  $colors, string  $sessions, string  $gyms, string  $gymColors) : mixed

Creates a new Badge object.

Parameters

\naigc\v25\util\IMysql $mysql

The database.

string $nameFirst

The person's first name.

string $nameLast

The person's last name.

string $clubName

The name of the club.

string $titles

The CSV of titles that should go on the badge.

string $colors

The CSV of colors that go with the titles.

string $sessions

The CSV of sessions the person competes in.

string $gyms

The CSV of gyms that go with the sessions.

string $gymColors

The CSV of colors that go with the gyms.

Returns

mixed

name()

name() : string

{@inheritDoc}

Returns

string

club()

club() : string

Gets the Club name on the Badge.

Returns

string —

The Club name.

titles()

titles() : string[]

Gets the titles on the Badge.

Returns

string[] —

The titles.

colors()

colors() : string[]

Gets the colors that go with the titles.

Returns

string[] —

The colors.

sessions()

sessions() : string[]

Gets the sessions they are competing in.

Returns

string[] —

The sessions.

gyms()

gyms() : string[]

Gets the gyms that go with the sessions.

Returns

string[] —

The gyms.

gymColors()

gymColors() : string[]

Gets the colors that go with the gyms.

Returns

string[] —

The colors.