Documentation

setParents

void public
\Bitrix\Iblock\InheritedProperty\ElementValues::setParents(
 \Bitrix\Iblock\InheritedProperty\array[]integer|integer $sectionId
);

When array of section IDs is passed on input, this method sets section with minimal ID as parent. When passing a numeral, sets a section with sectionId as parent. Non-static method.

Parameters

ParameterDescriptionVersion
$sectionIdSection ID or array with IDs.

Example



© «Bitrix24», 2001-2024
Up