name()
name() : string
Gets the first name of the Competitor.
Returns
string —The first and last name.
Functions related to Competitors.
addToAwardsCategory(string $awardsCategoryName, bool $updateTeams = true) : \naigc\v25\IAwardsCategory|null
Adds the Competitor to a new AwardsCategory.
| string | $awardsCategoryName | The AwardsCategory to add the Competitor to. |
| bool | $updateTeams | Optional. Whether all of the Competitor's Teams should also be updated. |
The newly added AwardsCategory.
removeFromAwardsCategory(\naigc\v25\IAwardsCategory $awardsCategory, bool $updateTeams = true) : \naigc\v25\ICompetitor
Removes the Competitor from an AwardsCategory.
| \naigc\v25\IAwardsCategory | $awardsCategory | The AwardsCategory to remove the Competitor from. |
| bool | $updateTeams | Optional. Whether all of the Competitor's Teams should also be updated. |
The Competitor.
addToBracket(\naigc\v25\IBracket $bracket, bool $isEligible = false) : \naigc\v25\ICompetitorBracket|null
Adds the Competitor to a new Bracket.
| \naigc\v25\IBracket | $bracket | The Bracket to add the Competitor to. |
| bool | $isEligible | Optional. Whether the Competitor is eligible for awards in this Bracket. |
The newly created CompetitorBracket.