Public Member Functions | |
init () | |
updateContactLatestActivityDateTimeByTask (CEvent $event) | |
updateContactLatestActivityDateTimeByNote (CEvent $event) | |
updateContactLatestActivityDateTimeByEmailMessage (CEvent $event) | |
![]() | |
resolveModelLatestActivityDateTimeProcessFlagByMeeting (Cevent $event) | |
![]() | |
destroy () | |
Additional Inherited Members | |
![]() | |
static | resolveRelatedModelsAndSetLatestActivityDateTime ($activityItems, $dateTime, $modelClassName) |
static | resolveItemToModelAndPopulateLatestActivityDateTime (Item $item, $dateTime, $modelClassName) |
![]() | |
$attachedEventHandlersIndexedByModelClassName = array() | |
Used to observe when a contact's related model has a change that should update the contact's latestActivityDateTime These settings are enabled/disabled in the designer under the contacts module.
Definition at line 41 of file ContactLatestActivityDateTimeObserver.php.
updateContactLatestActivityDateTimeByTask | ( | CEvent | $event | ) |
Given a event, check that the event's sender is a Task and then check to process updating a related contact's latestActivityDateTime if it should
CEvent | $event |
Definition at line 76 of file ContactLatestActivityDateTimeObserver.php.
updateContactLatestActivityDateTimeByNote | ( | CEvent | $event | ) |
Given a event, check that the event's sender is a Note and then check to process updating a related contact's latestActivityDateTime if it should
CEvent | $event |
Definition at line 92 of file ContactLatestActivityDateTimeObserver.php.
updateContactLatestActivityDateTimeByEmailMessage | ( | CEvent | $event | ) |
Given a event, check that the event's sender is a EmailMessage and then check to process updating a related contact's latestActivityDateTime if it should Both sent and archived emails will have the sentDateTime just populated.
CEvent | $event |
Definition at line 108 of file ContactLatestActivityDateTimeObserver.php.