• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/access/model/taskmodel.php
  • Класс: BitrixTasksAccessModelTaskModel
  • Вызов: TaskModel::getGroupId
public function getGroupId(): int
{
	if ($this->groupId === null)
	{
		$this->groupId = 0;

		$task = $this->getTask();
		if ($task)
		{
			$this->groupId = (int) $task['GROUP_ID'];
		}
	}
	return $this->groupId;
}