Add Schedule Name To Email Subject


I need the schedule name included in the email subject line. I have chatted with the developer of phpScheduleIt and he has given me the following suedo code

" This one's a bit trickier, since the schedule details aren't included as part of the reservation. You'd need to load the schedule from the ScheduleRepository. You can do this in \lib\Application\Reservation\Notification\[url removed, login to view] Notify(). Something like:

$scheduleRepo = new ScheduleRepository();

$schedule = $scheduleRepository->LoadById($reservation->ScheduleId());

Then pass that into the constructor of the ReservationCreatedEmail object. You can then change the Subject() function to

return $this->Translate('ReservationCreatedSubject', array($schedule->GetName())); and change the language file to include a placeholder for the schedule name "

I have left FTP access open.


Kemahiran: PHP

Lihat lagi: developer name, translate email, phpscheduleit, email notification , reservation application, reservation line, access array, subject line, name details, change phpscheduleit, email ftp, email application developer, email notification access, php translate function, reservation schedule php, access reservation, translate php language file, reservation application code, php array add, add access email, ftp file notification, subject, schedule email, php translate language file, ftp email notification

Tentang Majikan:
( 9 ulasan ) Orange, United States

ID Projek: #4050356

Dianugerahkan kepada:


Hired by the Employer

$30 USD dalam 5 hari
(37 Ulasan)