Documentation

addChild

void public
\Bitrix\Iblock\Template\NodeRoot::addChild(
 \Bitrix\Iblock\Template\NodeBase $child
);

Adds a child entity into collection of child entities. Non-static method.

Parameters

ParameterDescriptionVersion
$childobject, to be added as a child entity.

Example



© «Bitrix24», 2001-2024