modules/Activities/EmailReminder.php

Show: inherited
Table of Contents

\EmailReminder

Package: SugarCRM

Class for sending email reminders of meetings and call to invitees

Properties

Propertyprotected  $max= ''

string db datetime will be fetched till

Details
Type
n/a
Propertyprotected  $now= ''

string db datetime of now

Details
Type
n/a

Methods

methodpublic__construct( ) : void

constructor

methodpublicgetCallsForRemind( ) : array

get calls ids list for remind

Returns
Type Description
array
methodpublicgetMeetingsForRemind( ) : array

get meeting ids list for remind

Returns
Type Description
array
methodprotectedgetRecipients( string $id, string $module = "Meetings" ) : array

get recipients of reminding email for specific activity

Parameters
Name Type Description
$id string
$module string
Returns
Type Description
array
methodpublicprocess( ) : boolean

main method that runs reminding process

Returns
Type Description
boolean
methodprotectedsendReminders( \SugarBean $bean, \Administration $admin, array $recipients ) : boolean

send reminders

Parameters
Name Type Description
$bean \SugarBean
$admin \Administration
$recipients array
Returns
Type Description
boolean
methodprotectedsetReminderBody( \XTemplate $xtpl, \SugarBean $bean, \User $user ) : \XTemplate

set reminder body

Parameters
Name Type Description
$xtpl \XTemplate
$bean \SugarBean
$user \User
Returns
Type Description
\XTemplate
Documentation was generated by DocBlox 0.18.1.