GroupStepper::getErrorOffset

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. GroupStepper
  4. getErrorOffset
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/copy/integration/groupstepper.php
  • Класс: BitrixTasksCopyIntegrationGroupStepper
  • Вызов: GroupStepper::getErrorOffset
private function getErrorOffset(TaskManager $taskCopyManager): int
{
	$numberIds = count($taskCopyManager->getMapIdsCopiedTasks());
	$numberSuccessIds = count(array_filter($taskCopyManager->getMapIdsCopiedTasks()));
	return $numberIds - $numberSuccessIds;
}

Добавить комментарий