Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ContactLatestActivityDateTimeObserver Class Reference

Inheritance diagram for ContactLatestActivityDateTimeObserver:
LatestActivityDateTimeObserver BaseObserver

Public Member Functions

 init ()
 updateContactLatestActivityDateTimeByTask (CEvent $event)
 updateContactLatestActivityDateTimeByNote (CEvent $event)
 updateContactLatestActivityDateTimeByEmailMessage (CEvent $event)

Detailed Description

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.


Member Function Documentation

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

Parameters:
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

Parameters:
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.

Parameters:
CEvent $event

Definition at line 108 of file ContactLatestActivityDateTimeObserver.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Mar 21 07:10:49 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8