Метод attach
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
93–162
~/bitrix/modulestasks/lib/internals/database/structure/closuretree.php
Исходный код
Сигнатура метода
public static function attach($id, $parentId = 0, array $settings = array())
Описание
Attach node $id to node $parentId. If node $id has subtree, it will be relocated
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
-
|
-
|
-
|
$parentId
|
-
|
0
|
-
|
$settings
|
array
|
array()
|
-
|