\naigcClub

Functions related to clubs.

Summary

Methods
Properties
Constants
getCurrentMembers()
getList()
setClubInfo()
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

getCurrentMembers()

getCurrentMembers(\mysqli  $db, int  $clubId) : array

Gets the id, first name, and last name of each current club member.

Parameters

\mysqli $db

The database connection.

int $clubId

The id of the club.

Returns

array —

An array containing the id and names of each member.

getList()

getList(\mysqli  $db) : array

Gets a list of all clubs.

Parameters

\mysqli $db

The database connection.

Returns

array —

The list of clubs.

setClubInfo()

setClubInfo(\mysqli  $db, bool  $meetOnly) : void

Sets the club's information.

Parameters

\mysqli $db

The database connection

bool $meetOnly

If true, only update a subset of the info.