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

AccountContactAffiliationObserver Class Reference

Public Member Functions

 init ()
 destroy ()
 processFromContactSide (CEvent $event)

Protected Member Functions

 resolveRoleValue (AccountContactAffiliation $accountContactAffiliation)

Detailed Description

Used to observe when a contact is added/removed from a related account. This is needed to ensure the relationship is managed in parallel using the AccountContactAffiliation model.

Definition at line 41 of file AccountContactAffiliationObserver.php.


Member Function Documentation

destroy (  ) 

Removes attached eventHandlers. Used by tests to ensure there are not duplicate event handlers

Definition at line 53 of file AccountContactAffiliationObserver.php.

processFromContactSide ( CEvent $  event  ) 
Parameters:
CEvent $event

Definition at line 63 of file AccountContactAffiliationObserver.php.

resolveRoleValue ( AccountContactAffiliation accountContactAffiliation  )  [protected]

If role is required, and there is no default value selected, grab the first value available for the role.

Parameters:
AccountContactAffiliation $accountContactAffiliation
Returns:
mixed

Definition at line 115 of file AccountContactAffiliationObserver.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jan 17 07:10:20 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