CRM-14727 - Fire case-change events which include Civi\CCase\Analyzer.
authorTim Otten <totten@civicrm.org>
Tue, 27 May 2014 01:34:19 +0000 (18:34 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 28 May 2014 04:00:11 +0000 (21:00 -0700)
commit708d8fa2a0e4e1a47549cb79980f0b0e1c157b97
tree83f7251a52c8501025c561910bc942bf0bf81860
parentfd901044c9a37663407171df0818f507e1dfc856
CRM-14727 - Fire case-change events which include Civi\CCase\Analyzer.

Notes:
 * The key underlying event (hook_civicrm_post) is already fired, but you
   have to bind to it a couple different ways (eg listen for a change to an
   "Activity" and then check the "case_id").
 * A key goal is to allow multiple event-listeners to use the same instance of $analyzer.
 * One can bind to the case-change event in one of three ways: (a) hooks, (b) event-dispatcher, (c) CiviCase XML listeners.
CRM/Case/XMLProcessor/Process.php
CRM/Case/XMLRepository.php
CRM/Utils/Hook.php
Civi/CCase/Analyzer.php [new file with mode: 0644]
Civi/CCase/CaseChangeListener.php [new file with mode: 0644]
Civi/CCase/Event/CaseChangeEvent.php [new file with mode: 0644]
Civi/CCase/Events.php [new file with mode: 0644]
Civi/CCase/Exception/MultipleActivityException.php [new file with mode: 0644]
Civi/Core/Container.php