Bitrix API

InDatabase extends CounterState

Table of Contents

Methods

__construct()  : mixed
current()  : mixed
getClearedDate()  : int
getLoader()  : Loader
getRawCounters()  : array<string|int, mixed>
getSize()  : int
getValue()  : int
init()  : void
isCounted()  : bool
key()  : int
next()  : void
resetCache()  : void
rewind()  : void
updateState()  : void
valid()  : bool

Methods

__construct()

public __construct(int $userId, Loader $loader) : mixed
Parameters
$userId : int
$loader : Loader

getClearedDate()

public getClearedDate() : int
Return values
int

getRawCounters()

public getRawCounters([string $meta = CounterDictionary::META_PROP_ALL ]) : array<string|int, mixed>
Parameters
$meta : string = CounterDictionary::META_PROP_ALL
Return values
array<string|int, mixed>

getSize()

public getSize() : int
Return values
int

getValue()

public getValue(string $name[, int $groupId = null ]) : int
Parameters
$name : string
$groupId : int = null
Return values
int

isCounted()

public isCounted() : bool
Return values
bool

updateState()

public updateState(array<string|int, mixed> $rawCounters[, array<string|int, mixed> $types = [] ][, array<string|int, mixed> $logIds = [] ]) : void
Parameters
$rawCounters : array<string|int, mixed>
$types : array<string|int, mixed> = []
$logIds : array<string|int, mixed> = []

valid()

public valid() : bool
Return values
bool

        
On this page

Search results