Метод connectNodes
Сигнатура метода
private function connectNodes(NodeOutput $from, NodeInput $to, ActivityPortType $fromType = ActivityPortType::Output, ActivityPortType $toType = ActivityPortType::Input): void
Возвращает:
void
Описание
Wires one node into another and remembers what the two ports of that link are meant to be. Control flow leaves a node through an output port and enters the next one through an input port; a binding is the one link of another kind - see addStepNode() - so the two families are the default here.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$from
|
NodeOutput
|
—
|
—
|
$to
|
NodeInput
|
—
|
—
|
$fromType
|
ActivityPortType
|
ActivityPortType::Output
|
—
|
$toType
|
ActivityPortType
|
ActivityPortType::Input
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/TemplateBuilder/TemplateBuilder.php
Расположение метода в файле
Строки
525–534