pm_ActionLog
in package
Wrapper for ActionLog.
Tags
Table of Contents
Constants
NEW_VALUE
public
mixed
NEW_VALUE
= 'new'
OLD_VALUE
public
mixed
OLD_VALUE
= 'old'
Methods
submit()
public
static submit(string $actionId[, int|null $objectId = null ][, array<string|int, string> $oldValues = [] ][, array<string|int, string> $newValues = [] ]) : void
Parameters
- $actionId : string
- $objectId : int|null = null
-
ID of the object mentioned in the event. 0 if not applicable (singleton object like 'admin').
- $oldValues : array<string|int, string> = []
- $newValues : array<string|int, string> = []