Appointment
Appointment PHP Methods
checkCanSchedule($whoCanSchedule, \WMT\SQL\Visit\Visitor $visitor) v5
Checks if a visitor can schedule an appointment
PARAMETERS:
$whoCanSchedule = string, who can schedule text
$visitor = object
RETURN VALUE:
throws an error if the visitor is not allowed to schedule an appointment checkCanScheduleWith(int $memberID, \WMT\SQL\Visit\Visitor $visitor, string $scheduleWith) v5
Checks if a visitor can schedule an appointment
PARAMETERS:
$memberID = int, member ID
$visitor = object
$scheduleWith = string, like (admin, member, parent)
RETURN VALUE:
throws an error if the visitor is not allowed to schedule an appointment with the selected member __construct(\WMT\MySQL $mysqli) v5
construct method to load $mysqli object
PARAMETERS:
$mysqli = object
RETURN VALUE:
VOIDAppointment PHP Variables
🔎︎ %l4610%