Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.1
-
Fix Version/s: 3.4.3
-
Component/s: Core CiviCRM
-
Labels:None
Description
This can be useful when:
a) Coordinating with non-transactional resources within a transactional context
b) Executing queries which would otherwise be subject to lock/race issues
Example usage:
CRM_Core_Transaction::addCallback(CRM_Core_Transaction::PHASE_POST_COMMIT, array('My_Class', 'myStaticMethod'));