Bitrix API

EventHistory

Table of Contents

Constants

EVENT_TYPE_DELETE  = 5
EVENT_TYPE_EMAIL  = 2
EVENT_TYPE_EXPORT  = 4
EVENT_TYPE_LINK  = 7
EVENT_TYPE_MERGER  = 6
EVENT_TYPE_UNLINK  = 8
EVENT_TYPE_UPDATE  = 1
EVENT_TYPE_USER  = 0
EVENT_TYPE_VIEW  = 3

Methods

__construct()  : mixed
getAllEventTypeCaptions()  : array<int, string>
getEventTypeCaption()  : string
registerBind()  : Result
registerDelete()  : Result
Creates a new 'delete' record in the EventsTable for the provided object
registerExport()  : Result
registerUnbind()  : Result
registerUpdate()  : Result
Creates a new 'update' record in the EventsTable. The objects are compared and found differences are registered.
registerView()  : Result
Creates a new 'view' record in the EventsTable for the provided object

Constants

Methods

getAllEventTypeCaptions()

public getAllEventTypeCaptions() : array<int, string>
Return values
array<int, string>

getEventTypeCaption()

public getEventTypeCaption(int $eventType) : string
Parameters
$eventType : int
Return values
string

registerDelete()

Creates a new 'delete' record in the EventsTable for the provided object

public registerDelete(TrackedObject $trackedObject[, Context|null $context = null ]) : Result
Parameters
$trackedObject : TrackedObject
$context : Context|null = null
Return values
Result

registerUpdate()

Creates a new 'update' record in the EventsTable. The objects are compared and found differences are registered.

public registerUpdate(TrackedObject $trackedObject[, Context|null $context = null ]) : Result
Parameters
$trackedObject : TrackedObject
$context : Context|null = null
Return values
Result

registerView()

Creates a new 'view' record in the EventsTable for the provided object

public registerView(TrackedObject $trackedObject[, Context|null $context = null ]) : Result
Parameters
$trackedObject : TrackedObject
$context : Context|null = null
Return values
Result

        
On this page

Search results