- Модуль: tasks
- Путь к файлу: ~/bitrix/modules/tasks/lib/copy/implement/task.php
- Класс: BitrixTasksCopyImplementTask
- Вызов: Task::copyChildren
public function copyChildren(Container $container, $entityId, $copiedEntityId)
{
$this->copyUfFields($entityId, $copiedEntityId, $this->ufEntityObject);
$results = [];
$results[] = $this->copyParams($container, $entityId, $copiedEntityId);
$results[] = $this->copyChildTasks($entityId, $copiedEntityId);
$results[] = $this->copyComments($container, $entityId, $copiedEntityId);
$results[] = $this->copyReplica($container, $entityId, $copiedEntityId);
return $this->getResult($results);
}