Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions
AccountLatestActivityDateTimeObserver Class Reference
Inheritance diagram for AccountLatestActivityDateTimeObserver:
LatestActivityDateTimeObserver BaseObserver

Public Member Functions

 init ()
 
 updateAccountLatestActivityDateTimeByTask (CEvent $event)
 
 updateAccountLatestActivityDateTimeByNote (CEvent $event)
 
 updateAccountLatestActivityDateTimeByEmailMessage (CEvent $event)
 
- Public Member Functions inherited from LatestActivityDateTimeObserver
 resolveModelLatestActivityDateTimeProcessFlagByMeeting (Cevent $event)
 
- Public Member Functions inherited from BaseObserver
 destroy ()
 

Additional Inherited Members

- Static Public Member Functions inherited from LatestActivityDateTimeObserver
static resolveRelatedModelsAndSetLatestActivityDateTime ($activityItems, $dateTime, $modelClassName)
 
static resolveItemToModelAndPopulateLatestActivityDateTime (Item $item, $dateTime, $modelClassName)
 
- Protected Attributes inherited from BaseObserver
 $attachedEventHandlersIndexedByModelClassName = array()
 

Detailed Description

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

Definition at line 41 of file AccountLatestActivityDateTimeObserver.php.

Member Function Documentation

updateAccountLatestActivityDateTimeByTask ( CEvent  $event)

Given a event, check that the event's sender is a Task and then check to process updating a related account's latestActivityDateTime if it should

Parameters
CEvent$event

Definition at line 76 of file AccountLatestActivityDateTimeObserver.php.

updateAccountLatestActivityDateTimeByNote ( CEvent  $event)

Given a event, check that the event's sender is a Note and then check to process updating a related account's latestActivityDateTime if it should

Parameters
CEvent$event

Definition at line 92 of file AccountLatestActivityDateTimeObserver.php.

updateAccountLatestActivityDateTimeByEmailMessage ( CEvent  $event)

Given a event, check that the event's sender is a EmailMessage and then check to process updating a related account'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 AccountLatestActivityDateTimeObserver.php.


The documentation for this class was generated from the following file:
Generated on Mon Sep 28 2020 07:10:37
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.