Events
in package
Class Events
Table of Contents
Properties
- $isActive : array<string|int, mixed>
- List of cases for which we are actively firing case-change event We do not want to fire case-change events recursively.
Methods
- delegateToXmlListeners() : mixed
- Find any extra listeners declared in XML and pass the event along to them.
- fireCaseChange() : mixed
- Following a change to an activity or case, fire the case-change event.
- fireCaseChangeForRealz() : mixed
- Fire case change hook
Properties
$isActive
List of cases for which we are actively firing case-change event We do not want to fire case-change events recursively.
public
static array<string|int, mixed>
$isActive
= []
array (int $caseId => bool $active)
Methods
delegateToXmlListeners()
Find any extra listeners declared in XML and pass the event along to them.
public
static delegateToXmlListeners(CaseChangeEvent $event) : mixed
Parameters
- $event : CaseChangeEvent
fireCaseChange()
Following a change to an activity or case, fire the case-change event.
public
static fireCaseChange(PostEvent $event) : mixed
Parameters
- $event : PostEvent
Tags
fireCaseChangeForRealz()
Fire case change hook
public
static fireCaseChangeForRealz(int|array<string|int, mixed> $caseIds) : mixed
Parameters
- $caseIds : int|array<string|int, mixed>