My Project
|
Static Public Member Functions | |
static | getAllEvents () |
static | addEvent ($event) |
static | getEventByID ($eventID) |
Corresponds to the Event table in the DONATE database. Any method which accesses data from or commits data to the Event table should belong to this class. Methods in this class use mysqli object oriented connections to the database, and perform instance methods on given object to create queries, execute them, and fetch their results.
static addEvent | ( | $ | event | ) | [static] |
static getAllEvents | ( | ) | [static] |
Retrieves all records from the Event table using an instance of mysqli.
static getEventByID | ( | $ | eventID | ) | [static] |
Retrieves all records from the Event table using an instance of mysqli.