Bitrix API

Event

Table of Contents

Constants

ADD_EVENT  = 'add'
CHAT_ENTITY  = 'chat'
COMPLETE_DELETE_EVENT  = 'completeDelete'
DELETE_EVENT  = 'delete'
MESSAGE_ENTITY  = 'message'
PIN_MESSAGE_ENTITY  = 'pin'
READ_ALL_EVENT  = 'readAll'
UPDATED_MESSAGE_ENTITY  = 'updatedMessage'

Properties

$entityId  : int
$entityType  : string
$eventName  : string

Methods

__construct()  : mixed
getDateCreate()  : DateTime
getDateDelete()  : DateTime|null
getId()  : int|null
initByOrmEntities()  : array<string|int, self>

Constants

ADD_EVENT

public mixed ADD_EVENT = 'add'

CHAT_ENTITY

public mixed CHAT_ENTITY = 'chat'

COMPLETE_DELETE_EVENT

public mixed COMPLETE_DELETE_EVENT = 'completeDelete'

DELETE_EVENT

public mixed DELETE_EVENT = 'delete'

MESSAGE_ENTITY

public mixed MESSAGE_ENTITY = 'message'

PIN_MESSAGE_ENTITY

public mixed PIN_MESSAGE_ENTITY = 'pin'

READ_ALL_EVENT

public mixed READ_ALL_EVENT = 'readAll'

UPDATED_MESSAGE_ENTITY

public mixed UPDATED_MESSAGE_ENTITY = 'updatedMessage'

Properties

$entityId

public int $entityId

$entityType

public string $entityType

$eventName

public string $eventName

Methods

__construct()

public __construct(string $eventName, string $entityType, int $entityId[, DateTime|null $dateDelete = null ][, DateTime|null $dateCreate = null ][, int|null $id = null ]) : mixed
Parameters
$eventName : string
$entityType : string
$entityId : int
$dateDelete : DateTime|null = null
$dateCreate : DateTime|null = null
$id : int|null = null

getId()

public getId() : int|null
Return values
int|null

initByOrmEntities()

public static initByOrmEntities(EO_Log_Collection $logCollection) : array<string|int, self>
Parameters
$logCollection : EO_Log_Collection
Return values
array<string|int, self>

        
On this page

Search results