\naigcIPerson

Functions related to people.

Summary

Methods
Constants
getPrintableName()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

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.