Bitrix API

Correction

Class Correction

Table of Contents

Methods

closeOldSession()  : array<string|int, mixed>
Marks the date of the closing of the session and closes the old session.
getCountBrokenSessions()  : int
getCountChatSessionId()  : int
getCountSessionsNoDateClose()  : int
getCountSessionsThatNotShown()  : int
getCountStatusClosedSessions()  : int
getSessionsThatNotShown()  : array<string|int, mixed>
Get a list of sessions that are not shown to any operator and are not distributed.
repairBrokenSessions()  : array<string|int, mixed>
Fix sessions that have lost the consistency of the data structure. And closing old sessions.
repairSessionsThatNotShown()  : array<string|int, mixed>
Fix sessions that are not displayed to any operator and will not be allocated.
restoreChatSessionId()  : array<string|int, int>
setStatusClosedSessions()  : array<string|int, int>
The correct status is set for sessions that are closed.

Methods

closeOldSession()

Marks the date of the closing of the session and closes the old session.

public static closeOldSession([bool $correction = true ][, int $closeDay = -1 ][, int $limit = 0 ]) : array<string|int, mixed>
Parameters
$correction : bool = true
$closeDay : int = -1
$limit : int = 0
Return values
array<string|int, mixed>

getCountBrokenSessions()

public static getCountBrokenSessions() : int
Return values
int

getCountChatSessionId()

public static getCountChatSessionId() : int
Return values
int

getCountSessionsNoDateClose()

public static getCountSessionsNoDateClose() : int
Return values
int

getCountSessionsThatNotShown()

public static getCountSessionsThatNotShown() : int
Return values
int

getCountStatusClosedSessions()

public static getCountStatusClosedSessions() : int
Return values
int

getSessionsThatNotShown()

Get a list of sessions that are not shown to any operator and are not distributed.

public static getSessionsThatNotShown([int $limit = 0 ]) : array<string|int, mixed>
Parameters
$limit : int = 0
Return values
array<string|int, mixed>

repairBrokenSessions()

Fix sessions that have lost the consistency of the data structure. And closing old sessions.

public static repairBrokenSessions([bool $correction = true ][, int $closeDay = -1 ][, int $limit = 0 ]) : array<string|int, mixed>
Parameters
$correction : bool = true
$closeDay : int = -1
$limit : int = 0
Return values
array<string|int, mixed>

repairSessionsThatNotShown()

Fix sessions that are not displayed to any operator and will not be allocated.

public static repairSessionsThatNotShown([bool $correction = true ][, int $closeDay = -1 ][, int $limit = 0 ]) : array<string|int, mixed>
Parameters
$correction : bool = true
$closeDay : int = -1
$limit : int = 0
Return values
array<string|int, mixed>

restoreChatSessionId()

public static restoreChatSessionId([bool $correction = true ][, int $limit = 0 ]) : array<string|int, int>
Parameters
$correction : bool = true
$limit : int = 0
Return values
array<string|int, int>

setStatusClosedSessions()

The correct status is set for sessions that are closed.

public static setStatusClosedSessions([bool $correction = true ][, int $limit = 0 ]) : array<string|int, int>
Parameters
$correction : bool = true
$limit : int = 0
Return values
array<string|int, int>

        
On this page

Search results