• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/dispatcher/todo/plan.php
  • Класс: BitrixTasksDispatcherToDoPlan
  • Вызов: Plan::import
public function import($todoList)
{
	if(is_array($todoList))
	{
		foreach($todoList as $op)
		{
			if(is_array($op))
			{
				// todo: submit version and context through $op['PARAMETERS']
				$this->addToDo(
					($op['OPERATION'] ?? null),
					($op['ARGUMENTS'] ?? null),
					($op['PARAMETERS'] ?? null)
				);
			}
		}
	}
}