1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Counter

Открытые статические члены

static get ($userId=null, $options=[])
static clearCache ($userId=null)
static getChatCounter ($chatId, $userId=null)
static getDialogCounter ($opponentUserId, $userId=null)
static getNotifyCounter ($userId=null)
static countingLostCountersAgent ($notifyRelationId=0, $chatRelationId=0)
static onGetMobileCounterTypes (\Bitrix\Main\Event $event)
static onGetMobileCounter (\Bitrix\Main\Event $event)

Поля данных

const CACHE_TTL = 86400
const CACHE_NAME = 'counter_v3'
const CACHE_PATH = '/bx/im/counter/'
const TYPE_MESSENGER = 'messenger'
const TYPE_NOTIFY = 'notify'
const MODULE_ID = 'im'

Подробное описание

См. определение в файле counter.php строка 8

Методы

◆ clearCache()

clearCache ( $userId = null)
static

См. определение в файле counter.php строка 156

◆ countingLostCountersAgent()

countingLostCountersAgent ( $notifyRelationId = 0,
$chatRelationId = 0 )
static

См. определение в файле counter.php строка 213

◆ get()

get ( $userId = null,
$options = [] )
static

См. определение в файле counter.php строка 18

◆ getChatCounter()

getChatCounter ( $chatId,
$userId = null )
static

См. определение в файле counter.php строка 171

◆ getDialogCounter()

getDialogCounter ( $opponentUserId,
$userId = null )
static

См. определение в файле counter.php строка 186

◆ getNotifyCounter()

getNotifyCounter ( $userId = null)
static

См. определение в файле counter.php строка 200

◆ onGetMobileCounter()

onGetMobileCounter ( \Bitrix\Main\Event $event)
static

См. определение в файле counter.php строка 325

◆ onGetMobileCounterTypes()

onGetMobileCounterTypes ( \Bitrix\Main\Event $event)
static

См. определение в файле counter.php строка 307

Поля

◆ CACHE_NAME

const CACHE_NAME = 'counter_v3'

См. определение в файле counter.php строка 11

◆ CACHE_PATH

const CACHE_PATH = '/bx/im/counter/'

См. определение в файле counter.php строка 12

◆ CACHE_TTL

const CACHE_TTL = 86400

См. определение в файле counter.php строка 10

◆ MODULE_ID

const MODULE_ID = 'im'

См. определение в файле counter.php строка 16

◆ TYPE_MESSENGER

const TYPE_MESSENGER = 'messenger'

См. определение в файле counter.php строка 14

◆ TYPE_NOTIFY

const TYPE_NOTIFY = 'notify'

См. определение в файле counter.php строка 15


Объявления и описания членов класса находятся в файле: