Table of Contents
Methods
-
getInstance()
: mixed
-
readAll()
: mixed
-
recount()
: mixed
-
reset()
: void
getInstance()
public
static getInstance() : mixed
readAll()
public
readAll([int $userId = 0 ][, array<string|int, mixed> $groupIds = [] ]) : mixed
Parameters
-
$userId
: int
= 0
-
-
$groupIds
: array<string|int, mixed>
= []
-
-
throws
-
SqlQueryException
recount()
public
recount(string $counter[, int $userId = 0 ][, array<string|int, mixed> $taskIds = [] ][, array<string|int, mixed> $groupIds = [] ]) : mixed
Parameters
-
$counter
: string
-
-
$userId
: int
= 0
-
-
$taskIds
: array<string|int, mixed>
= []
-
-
$groupIds
: array<string|int, mixed>
= []
-
reset()
public
static reset([int $userId = 0 ][, array<string|int, mixed> $types = [] ][, array<string|int, mixed> $tasksIds = [] ][, array<string|int, mixed> $groupIds = [] ]) : void
Parameters
-
$userId
: int
= 0
-
-
$types
: array<string|int, mixed>
= []
-
-
$tasksIds
: array<string|int, mixed>
= []
-
-
$groupIds
: array<string|int, mixed>
= []
-
-
throws
-
SqlQueryException