getPrintableName()
getPrintableName(\mysqli $db, int $personId = null) : string
Retrieves the name of a person in "Last, First" format.
Parameters
| \mysqli | $db | The database connection |
| int | $personId | The id of the person. |
Returns
string —The person's name or an empty string if not found.