Counter
Table of Contents
Methods
-
get()
: mixed
-
getCounters()
: array<string|int, mixed>
-
getGlobalLimit()
: int
-
getInstance()
: self
-
getRawCounters()
: array<string|int, mixed>
-
isCounted()
: bool
-
isReady()
: bool
get()
public
get(mixed $name[, int $groupId = 0 ]) : mixed
Parameters
-
$name
: mixed
-
-
$groupId
: int
= 0
-
getCounters()
public
getCounters([int $groupId = 0 ][, array<string|int, mixed> $params = [] ]) : array<string|int, mixed>
Parameters
-
$groupId
: int
= 0
-
-
$params
: array<string|int, mixed>
= []
-
Return values
array<string|int, mixed>
getGlobalLimit()
public
static getGlobalLimit() : int
getInstance()
public
static getInstance(mixed $userId) : self
Parameters
-
$userId
: mixed
-
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>
isCounted()
public
isCounted() : bool
isReady()
public
static isReady(mixed $userId) : bool
Parameters
-
$userId
: mixed
-