\pm_ActionLog

Wrapper for ActionLog.

Summary

Methods
Properties
Constants
submit()
No public properties found
OLD_VALUE
NEW_VALUE
No protected methods found
No protected properties found
N/A

Constants

OLD_VALUE

OLD_VALUE

NEW_VALUE

NEW_VALUE

Methods

submit()

submit(  $actionId, integer  $objectId = null, array  $oldValues = null, array  $newValues = null) 

Parameters

$actionId
integer $objectId

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

array $oldValues
array $newValues

Throws

\Exception

Examples

=> 'John Smith', 'email' => 'user@old.example.com', 'login_name' => 'user1')
** File not found : array('contact_name' **
=> 'John Smith', 'email' => 'user@new.example.com', 'login_name' => 'user1')
** File not found : array('contact_name' **