class StaticTriggers

Build a set of simple, literal SQL triggers.

Methods

__construct($triggers)

StaticTriggers constructor.

onTriggerInfo(GenericHookEvent $e)

Add our list of triggers to the global list.

alterTriggerInfo(array $info, string|NULL $tableFilter = NULL)

Add our list of triggers to the global list.

mixed
getTriggers()

No description

setTriggers(mixed $triggers)

No description

addTrigger($trigger)

No description

Details

at line 55
__construct($triggers)

StaticTriggers constructor.

Parameters

$triggers

at line 65
onTriggerInfo(GenericHookEvent $e)

Add our list of triggers to the global list.

Parameters

GenericHookEvent $e

See also

CRM_Utils_Hook::triggerInfo

at line 80
alterTriggerInfo(array $info, string|NULL $tableFilter = NULL)

Add our list of triggers to the global list.

Parameters

array $info See hook_civicrm_triggerInfo.
string|NULL $tableFilter See hook_civicrm_triggerInfo.

See also

CRM_Utils_Hook::triggerInfo
CRM_Core_DAO::triggerRebuild

at line 104
mixed getTriggers()

Return Value

mixed

at line 112
StaticTriggers setTriggers(mixed $triggers)

Parameters

mixed $triggers

Return Value

StaticTriggers

at line 121
StaticTriggers addTrigger($trigger)

Parameters

$trigger

Return Value

StaticTriggers