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

LatestActivityDateTimeObserver Class Reference

Inheritance diagram for LatestActivityDateTimeObserver:
BaseObserver AccountLatestActivityDateTimeObserver ContactLatestActivityDateTimeObserver

Public Member Functions

 resolveModelLatestActivityDateTimeProcessFlagByMeeting (Cevent $event)

Static Public Member Functions

static resolveRelatedModelsAndSetLatestActivityDateTime ($activityItems, $dateTime, $modelClassName)
static resolveItemToModelAndPopulateLatestActivityDateTime (Item $item, $dateTime, $modelClassName)

Detailed Description

Used to observe when a model's related model has a change that should update the model's latestActivityDateTime These settings are enabled/disabled in the designer under the contacts or accounts module.

Definition at line 41 of file LatestActivityDateTimeObserver.php.


Member Function Documentation

resolveModelLatestActivityDateTimeProcessFlagByMeeting ( Cevent $  event  ) 

Given a event, check that the event's sender is a meeting. this is a beforeSave event that should reset the latestActivityDateTimeProcessFlag if the startDateTime has changed. This flag is then used by the UpdateModelsLatestActivityDateTimeByMeetingJob and UpdateAccountLatestActivityDateTimeByMeetingJob

Parameters:
Cevent $event

Definition at line 50 of file LatestActivityDateTimeObserver.php.

static resolveRelatedModelsAndSetLatestActivityDateTime ( activityItems,
dateTime,
modelClassName 
) [static]
Parameters:
$activityItems 
$dateTime 

Definition at line 63 of file LatestActivityDateTimeObserver.php.

static resolveItemToModelAndPopulateLatestActivityDateTime ( Item item,
dateTime,
modelClassName 
) [static]
Parameters:
Item $item
$dateTime 
$modelClassName 
Exceptions:
FailedToSaveModelException 

Definition at line 80 of file LatestActivityDateTimeObserver.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Mar 23 07:10:54 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