CounterController uses CommandTrait
Table of Contents
Methods
- __construct() : mixed
- CounterBroker constructor.
- deleteTasks() : void
- getStepLimit() : int
- readAll() : void
- readProject() : void
- readScrum() : void
- recount() : void
- recountAll() : void
- recountForUser() : void
- reset() : void
- updateInOptionCounter() : mixed
Methods
__construct()
CounterBroker constructor.
public
__construct([int $userId = 0 ]) : mixed
Parameters
- $userId : int = 0
deleteTasks()
public
deleteTasks(array<string|int, mixed> $taskIds, array<string|int, mixed> $memberIds) : void
Parameters
- $taskIds : array<string|int, mixed>
- $memberIds : array<string|int, mixed>
getStepLimit()
public
static getStepLimit() : int
Return values
intreadAll()
public
readAll([int $groupId = 0 ][, string|null $role = null ]) : void
Parameters
- $groupId : int = 0
- $role : string|null = null
readProject()
public
readProject([int $groupId = 0 ]) : void
Parameters
- $groupId : int = 0
Tags
readScrum()
public
readScrum([int $groupId = 0 ]) : void
Parameters
- $groupId : int = 0
Tags
recount()
public
recount(string $counter[, array<string|int, mixed> $taskIds = [] ][, array<string|int, mixed> $groupIds = [] ]) : void
Parameters
- $counter : string
- $taskIds : array<string|int, mixed> = []
- $groupIds : array<string|int, mixed> = []
Tags
recountAll()
public
recountAll() : void
recountForUser()
public
static recountForUser(int $userId) : void
Parameters
- $userId : int
Tags
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> = []
Tags
updateInOptionCounter()
public
updateInOptionCounter() : mixed