Bitrix API

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>

readAll()

public readAll([int $groupId = 0 ][, string|null $role = null ]) : void
Parameters
$groupId : int = 0
$role : string|null = null

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
throws
UnknownCounterException
throws
SqlQueryException

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
throws
SqlQueryException

updateInOptionCounter()

public updateInOptionCounter() : mixed
Tags
throws
ArgumentException
throws
SqlQueryException
throws
ObjectPropertyException
throws
SystemException

        
On this page

Search results