Bitrix API

ChatContentCollector

Table of Contents

Methods

__construct()  : mixed
cleanupChatBasics()  : void
deleteChat()  : void
Does critical cleanup using DELETE queries without loops and only by indexed fields. Must be run on the same hit when user initiates chat deletion. All other operations will be performed via agents.
getNextChatIdToCleanup()  : int|null
processCleanup()  : string|null

Methods

cleanupChatBasics()

public cleanupChatBasics([int|null $userId = null ]) : void
Parameters
$userId : int|null = null
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException

deleteChat()

Does critical cleanup using DELETE queries without loops and only by indexed fields. Must be run on the same hit when user initiates chat deletion. All other operations will be performed via agents.

public deleteChat([int|null $userId = null ]) : void
Parameters
$userId : int|null = null
Tags
throws
ArgumentException
throws
SystemException

getNextChatIdToCleanup()

public getNextChatIdToCleanup() : int|null
Tags
throws
ObjectPropertyException
throws
SystemException
throws
ArgumentException
Return values
int|null

processCleanup()

public processCleanup(int $limit[, string|null $previousCompletedStep = null ]) : string|null
Parameters
$limit : int
$previousCompletedStep : string|null = null
Return values
string|null

        
On this page

Search results