1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CAllUserCounter
Граф наследования:CAllUserCounter:
CUserCounter

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

static GetValue ($user_id, $code, $site_id=SITE_ID)
static GetValues ($user_id, $site_id=SITE_ID, &$arLastDate=[])
static GetAllValues ($user_id)
static GetLastDate ($user_id, $code, $site_id=SITE_ID)
static ClearAll ($user_id, $site_id=SITE_ID, $sendPull=true)
static ClearByTag ($tag, $code, $site_id=SITE_ID, $sendPull=true)
static CheckLiveMode ()
static addValueToPullMessage ($row, $arSites=array(), &$pullMessage=[])
static getGroupedCounters ($counters)
static getGroupedCounterRecords ($records)
static OnSocNetLogCommentDelete ($commentId)
static OnSocNetLogDelete ($logId)
static GetValueByUserID ($user_id, $site_id=SITE_ID, $code=self::ALL_SITES)
static GetCodeValuesByUserID ($user_id, $site_id=SITE_ID)
static GetLastDateByUserAndCode ($user_id, $site_id=SITE_ID, $code=self::ALL_SITES)
static DeleteOld ()
static Set ($user_id, $code, $value, $site_id=SITE_ID, $tag='', $sendPull=true)
static Increment ($user_id, $code, $site_id=SITE_ID, $sendPull=true, $increment=1)
static Decrement ($user_id, $code, $site_id=SITE_ID, $sendPull=true, $decrement=1)
static IncrementWithSelect ($sub_select, $sendPull=true, $arParams=array())
static Clear ($user_id, $code, $site_id=SITE_ID, $sendPull=true, $bMultiple=false, $cleanCache=true)
static DeleteByCode ($code)
static ClearByUser ($user_id, $site_id=SITE_ID, $code=self::ALL_SITES, $bMultiple=false, $sendPull=true)
static sendLiveFeedPull ()

Поля данных

const ALL_SITES = '**'
const LIVEFEED_CODE = '**'
const SYSTEM_USER_ID = 0

Защищенные статические члены

static SendPullEvent ($user_id, $code="", $bMultiple=false)
static dbIF ($condition, $yes, $no)

Статические защищенные данные

static $counters = []

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

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

Методы

◆ addValueToPullMessage()

addValueToPullMessage ( $row,
$arSites = array(),
& $pullMessage = [] )
static

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

◆ CheckLiveMode()

CheckLiveMode ( )
static

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

◆ Clear()

Clear ( $user_id,
$code,
$site_id = SITE_ID,
$sendPull = true,
$bMultiple = false,
$cleanCache = true )
static

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

◆ ClearAll()

ClearAll ( $user_id,
$site_id = SITE_ID,
$sendPull = true )
static

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

◆ ClearByTag()

ClearByTag ( $tag,
$code,
$site_id = SITE_ID,
$sendPull = true )
static

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

◆ ClearByUser()

ClearByUser ( $user_id,
$site_id = SITE_ID,
$code = self::ALL_SITES,
$bMultiple = false,
$sendPull = true )
static

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

◆ dbIF()

dbIF ( $condition,
$yes,
$no )
staticprotected

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

◆ Decrement()

Decrement ( $user_id,
$code,
$site_id = SITE_ID,
$sendPull = true,
$decrement = 1 )
static
Аргументы
$user_id
$code
string$site_id
bool$sendPull
int$decrement
Возвращает
bool

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

◆ DeleteByCode()

DeleteByCode ( $code)
static

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

◆ DeleteOld()

DeleteOld ( )
static

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

◆ GetAllValues()

GetAllValues ( $user_id)
static

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

◆ GetCodeValuesByUserID()

GetCodeValuesByUserID ( $user_id,
$site_id = SITE_ID )
static

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

◆ getGroupedCounterRecords()

getGroupedCounterRecords ( $records)
static

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

◆ getGroupedCounters()

getGroupedCounters ( $counters)
static

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

◆ GetLastDate()

GetLastDate ( $user_id,
$code,
$site_id = SITE_ID )
static

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

◆ GetLastDateByUserAndCode()

GetLastDateByUserAndCode ( $user_id,
$site_id = SITE_ID,
$code = self::ALL_SITES )
static

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

◆ GetValue()

GetValue ( $user_id,
$code,
$site_id = SITE_ID )
static

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

◆ GetValueByUserID()

GetValueByUserID ( $user_id,
$site_id = SITE_ID,
$code = self::ALL_SITES )
static

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

◆ GetValues()

GetValues ( $user_id,
$site_id = SITE_ID,
& $arLastDate = [] )
static

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

◆ Increment()

Increment ( $user_id,
$code,
$site_id = SITE_ID,
$sendPull = true,
$increment = 1 )
static

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

◆ IncrementWithSelect()

IncrementWithSelect ( $sub_select,
$sendPull = true,
$arParams = array() )
static

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

◆ OnSocNetLogCommentDelete()

OnSocNetLogCommentDelete ( $commentId)
static

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

◆ OnSocNetLogDelete()

OnSocNetLogDelete ( $logId)
static

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

◆ sendLiveFeedPull()

sendLiveFeedPull ( )
static

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

◆ SendPullEvent()

SendPullEvent ( $user_id,
$code = "",
$bMultiple = false )
staticprotected

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

◆ Set()

Set ( $user_id,
$code,
$value,
$site_id = SITE_ID,
$tag = '',
$sendPull = true )
static

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

Поля

◆ $counters

$counters = []
staticprotected

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

◆ ALL_SITES

const ALL_SITES = '**'

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

◆ LIVEFEED_CODE

const LIVEFEED_CODE = '**'

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

◆ SYSTEM_USER_ID

const SYSTEM_USER_ID = 0

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


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