Bitrix API

Loader

Loader is responsible for fetching counters and flags from db and keeping them cached

Table of Contents

Methods

__construct()  : mixed
getClearedDate()  : int
getRawCounters()  : array<string|int, mixed>
getTotalCounters()  : int
isCounted()  : bool
isCounterFlag()  : bool
resetCache()  : void

Methods

__construct()

public __construct(int $userId) : mixed
Parameters
$userId : int

getClearedDate()

public getClearedDate() : int
Return values
int

getRawCounters()

public getRawCounters() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTotalCounters()

public getTotalCounters() : int
Return values
int

isCounted()

public isCounted() : bool
Return values
bool

isCounterFlag()

public isCounterFlag(string $type) : bool
Parameters
$type : string
Return values
bool

resetCache()

public resetCache() : void

        
On this page

Search results