Метод modify

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 273–320
~/bitrix/modulestasks/lib/internals/effective.php

Исходный код

PHP
public static

Сигнатура метода

public static function modify(int $userId, string $userType, array $taskData, int $groupId = 0, bool $isViolation = null, bool $recountEfficiency = true): bool

Возвращает: bool

Описание

Modifies user efficiency. Also recounts efficiency user counter after modification if needed.

Параметры

6
Имя Тип По умолчанию Флаги
$userId int -
-
$userType string -
-
$taskData array -
-
$groupId int 0
-
$isViolation bool null
-
$recountEfficiency bool true
-