integer|null public static
\Bitrix\Catalog\Product\Viewed::getParentSection(
integer $sectionId,
integer $depth
);
Return parent section id for need section depth.
Parameters
ParameterDescriptionVersion
$sectionIdSection id.
$depthParent section depth.
Exceptions
\Bitrix\Main\ArgumentException
Examples