Documentation

pm_ActionLog
in package

Wrapper for ActionLog.

Tags
since
17.0

Table of Contents

NEW_VALUE  = 'new'
OLD_VALUE  = 'old'
submit()  : mixed

Constants

Methods

submit()

public static submit( $actionId[, int $objectId = null ][, array<string|int, mixed> $oldValues = null ][, array<string|int, mixed> $newValues = null ]) : mixed
Parameters
$actionId :
$objectId : int = null

ID of the object mentioned in the event. 0 if not applicable (singleton object like 'admin').

$oldValues : array<string|int, mixed> = null
$newValues : array<string|int, mixed> = null
Tags
example

array('contact_name' => 'John Smith', 'email' => 'user@old.example.com', 'login_name' => 'user1')

example

array('contact_name' => 'John Smith', 'email' => 'user@new.example.com', 'login_name' => 'user1')

throws
Exception
Return values
mixed

Search results