AggregateCounter extends CounterBase
Table of Contents
Methods
- __construct() : mixed
- getCode() : mixed
- getUserID() : mixed
- getValue() : mixed
Methods
__construct()
public
__construct(string $code, array<string|int, mixed> $data[, int $userID = 0 ]) : mixed
Parameters
- $code : string
-
Counter code.
- $data : array<string|int, mixed>
-
Item data.
- $userID : int = 0
-
User ID.
Tags
getCode()
public
getCode() : mixed
getUserID()
public
getUserID() : mixed
getValue()
public
getValue([mixed $recalculate = false ]) : mixed
Parameters
- $recalculate : mixed = false