Vote::copyChildren

  1. Bitrix24 API (v. 23.675.0)
  2. vote
  3. Vote
  4. copyChildren
  • Модуль: vote
  • Путь к файлу: ~/bitrix/modules/vote/lib/copy/implement/vote.php
  • Класс: BitrixVoteCopyImplementVote
  • Вызов: Vote::copyChildren
public function copyChildren(Container $container, $entityId, $copiedEntityId)
{
	$results = [];

	$results[] = $this->copyQuestion($entityId, $copiedEntityId);

	$result = $this->getResult($results);

	if (!$this->resetVotingResult)
	{
		$this->copyEvents($entityId, $copiedEntityId, $result);
	}

	return $result;
}

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