• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/scrum/form/entityinfo.php
  • Класс: BitrixTasksScrumFormEntityInfo
  • Вызов: EntityInfo::setInfoData
public function setInfoData(array $infoData): void
{
	if (
		isset($infoData[$this->getSprintGoalKey()])
		&& is_string($infoData[$this->getSprintGoalKey()])
	)
	{
		$this->setSprintGoal($infoData[$this->getSprintGoalKey()]);
	}

	if (
		isset($infoData[$this->getTypesGeneratedKey()])
		&& is_string($infoData[$this->getTypesGeneratedKey()])
	)
	{
		$this->setTypesGenerated($infoData[$this->getTypesGeneratedKey()]);
	}

	if (
		isset($infoData[$this->getTypesParticipantsGeneratedKey()])
		&& is_string($infoData[$this->getTypesParticipantsGeneratedKey()])
	)
	{
		$this->setTypesParticipantsGenerated($infoData[$this->getTypesParticipantsGeneratedKey()]);
	}

	if (isset($infoData[$this->getEventsKey()]) && is_array($infoData[$this->getEventsKey()]))
	{
		$this->setEvents($infoData[$this->getEventsKey()]);
	}

	if (
		isset($infoData[$this->getTemplatesClosedKey()])
		&& is_string($infoData[$this->getTemplatesClosedKey()])
	)
	{
		$this->setTemplatesClosed($infoData[$this->getTemplatesClosedKey()]);
	}

	if (
		isset($infoData[$this->getSprintStagesRecoveryStatusKey()])
		&& is_string($infoData[$this->getSprintStagesRecoveryStatusKey()])
	)
	{
		$this->setSprintStagesRecoveryStatus($infoData[$this->getSprintStagesRecoveryStatusKey()]);
	}

	if (
		isset($infoData[$this->getHiddenVisibilityListKey()])
		&& is_array($infoData[$this->getHiddenVisibilityListKey()])
	)
	{
		$this->setHiddenVisibilityList($infoData[$this->getHiddenVisibilityListKey()]);
	}
}