• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/task/dependence.php
  • Класс: Bitrix\Tasks\Task\does
  • Вызов: does::applyCreateRestrictions
static function applyCreateRestrictions(&$id, &$parentId)
{
	if(static::checkLinkExists($id, $parentId, array('BIDIRECTIONAL' => true)))
	{
		throw new Tree\LinkExistsException(false, array('NODES' => array($id, $parentId)));
	}
}