...Человеческий поиск в разработке...
- Модуль: tasks
- Путь к файлу: ~/bitrix/modules/tasks/lib/copy/taskmanager.php
- Класс: BitrixTasksCopyTaskManager
- Вызов: TaskManager::startCopy
public function startCopy() { $containerCollection = $this->getContainerCollection($this->taskIdsToCopy); $taskImplementer = $this->getTaskImplementer(); $taskCopier = $this->getTaskCopier($taskImplementer); $taskCopier->addEntityToCopy($this->getStageCopier($taskImplementer)); if ($this->markerChecklist) { $checklistImplementer = $this->getChecklistImplementer(); $taskCopier->addEntityToCopy($this->getChecklistCopier($checklistImplementer)); } $this->result = $taskCopier->copy($containerCollection); $this->mapIdsCopiedTasks = $taskCopier->getMapIdsCopiedEntity(); return $this->result; }