\naigc\v25IClub

Functions related to Clubs.

Summary

Methods
Constants
addMember()
clubId()
createTeam()
initials()
teams()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

addMember()

addMember(string  $clubMemberType, int  $personId) : \naigc\v25\IClub

Adds a member to the club.

Parameters

string $clubMemberType

The type of member to add.

int $personId

The ID of the person to add.

Returns

\naigc\v25\IClub —

The Club.

clubId()

clubId() : int

Gets the ID of a Club.

Returns

int —

The ID.

createTeam()

createTeam(int  $teamId, \naigc\v25\IBracket  $bracket, string  $designation) : \naigc\v25\ITeam|null

Creates a new Team.

Parameters

int $teamId

The ID of the Team in tblTeams.

\naigc\v25\IBracket $bracket

The Bracket the Team is competing in.

string $designation

The designation of the Team.

Returns

\naigc\v25\ITeam|null —

The newly created Team.

initials()

initials() : string

Gets the initials of a Club.

Returns

string —

The initials.

teams()

teams(\naigc\v25\IMeet  $meet) : \naigc\v25\ITeam[]

Gets the Teams the Club has in a Meet.

Parameters

\naigc\v25\IMeet $meet

The Meet to search in.

Returns

\naigc\v25\ITeam[] —

The array of Teams.