• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/classes/general/taskitem.php
  • Класс: CTaskItem
  • Вызов: CTaskItem::getTags
public function getTags()
{
	// ensure we have access to the task
	$this->checkCanReadThrowException();

	if ($this->arTaskTags === null)
	{
		$rsTags = CTaskTags::GetList(
			[],
			['TASK_ID' => $this->taskId]
		);

		$arTags = array();

		while ($arTag = $rsTags->fetch())
			$arTags[] = $arTag['NAME'];

		$this->arTaskTags = $arTags;
	}

	return ($this->arTaskTags);
}