Bitrix API

UserProcessor uses CommandTrait

Table of Contents

Methods

getInstance()  : mixed
readAll()  : void
recount()  : void
reset()  : void

Methods

getInstance()

public static getInstance(int $userId) : mixed
Parameters
$userId : int

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> = []
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

        
On this page

Search results