CounterProcessor
Table of Contents
Constants
-
STEP_LIMIT
= 2000
Methods
-
__construct()
: mixed
-
deleteTasks()
: void
-
readAll()
: void
-
recount()
: void
-
recountAll()
: void
STEP_LIMIT
public
mixed
STEP_LIMIT
= 2000
__construct()
public
__construct(int $userId) : mixed
Parameters
-
$userId
: int
-
deleteTasks()
public
deleteTasks(array<string|int, mixed> $tasks) : void
Parameters
-
$tasks
: array<string|int, mixed>
-
readAll()
public
readAll([int $groupId = 0 ][, string $role = null ]) : void
Parameters
-
$groupId
: int
= 0
-
-
$role
: string
= null
-
recount()
public
recount(string $counter[, array<string|int, mixed> $taskIds = [] ]) : void
Parameters
-
$counter
: string
-
-
$taskIds
: array<string|int, mixed>
= []
-
-
throws
-
UnknownCounterException
-
throws
-
SqlQueryException
recountAll()
public
recountAll() : void