My Project
|
Static Public Member Functions | |
static | getAllDesignations () |
static | addDesignation ($designation) |
static | getDesignationByID ($designationID) |
Corresponds to the Designation table in the DONATE database. Any method which accesses data from or commits data to the Designation 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 addDesignation | ( | $ | designation | ) | [static] |
Adds an instance of designation to the Designation table using an instance of mysqli.
Designation | object $designation -contains user-entered designation name. |
static getAllDesignations | ( | ) | [static] |
Retrieves all records from the Designation table using an instance of mysqli.
static getDesignationByID | ( | $ | designationID | ) | [static] |
Retrieves all records from the Designation table using an instance of mysqli.