Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
ConsultationMailer Class Reference

Static Public Member Functions

static sendMessage (?User $sender, User $user, ConsultationBooking $booking, string $subject,?string $reason= '')
 
static sendBookingMessageToResponsibilities (?User $sender, ConsultationBooking $booking)
 
static sendBookingMessageToUser (?User $sender, ConsultationBooking $booking)
 
static sendReasonMessage (?User $sender, ConsultationBooking $booking, User $receiver)
 
static sendCancelMessageToResponsibilities (?User $sender, ConsultationBooking $booking, string $reason= '')
 
static sendCancelMessageToUser (?User $sender, ConsultationBooking $booking, string $reason)
 

Detailed Description

Author
Jan-Hendrik Willms tleil.nosp@m.ax+s.nosp@m.tudip.nosp@m.@gma.nosp@m.il.co.nosp@m.m GPL2 or any later version

Member Function Documentation

static sendBookingMessageToResponsibilities ( ?User  $sender,
ConsultationBooking  $booking 
)
static

Send a booking information message to the teacher of the booked slot.

Parameters
User | null$sender
ConsultationBooking$bookingThe booking
static sendBookingMessageToUser ( ?User  $sender,
ConsultationBooking  $booking 
)
static

Send a booking information message to the user of the booked slot.

Parameters
User | null$sender
ConsultationBooking$bookingThe booking
static sendCancelMessageToResponsibilities ( ?User  $sender,
ConsultationBooking  $booking,
string  $reason = '' 
)
static

Send a cancelation message to the teacher of the booked slot.

Parameters
User | null$sender
ConsultationBooking$bookingThe booking
String$reasonReason of the cancelation
static sendCancelMessageToUser ( ?User  $sender,
ConsultationBooking  $booking,
string  $reason 
)
static

Send a cancelation message to the user of the booked slot.

Parameters
User | null$sender
ConsultationBooking$bookingThe booking
String$reasonReason of the cancelation
static sendMessage ( ?User  $sender,
User  $user,
ConsultationBooking  $booking,
string  $subject,
?string  $reason = '' 
)
static

Sends a consultation information message.

Parameters
User | null$senderSender
User$userRecipient
ConsultationSlot$slotSlot in question
string$subjectSubject of the message
string$reasonReason for a booking or cancelation
User$senderSender of the message
static sendReasonMessage ( ?User  $sender,
ConsultationBooking  $booking,
User  $receiver 
)
static

Send an information message about a changed reason to a user of the booked slot.

Parameters
User$senderThe sender of the message
ConsultationBooking$bookingThe booking
User$receiverThe receiver of the message

The documentation for this class was generated from the following file: