Stage::getStageIds

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. Stage
  4. getStageIds
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/copy/implement/stage.php
  • Класс: BitrixTasksCopyImplementStage
  • Вызов: Stage::getStageIds
public function getStageIds($taskId)
{
	$stageIds = [];

	$queryObject = TaskStageTable::getList(["select" => ["ID", "STAGE_ID"], "filter" => ["TASK_ID" => $taskId]]);
	while ($stage = $queryObject->fetch())
	{
		$stageIds[$stage["ID"]] = $stage["STAGE_ID"];
	}

	return $stageIds;
}

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