Documentation

getPathToNodeByCode

 public static
\Bitrix\Sale\Location\LocationTable::getPathToNodeByCode(
 string $code,
 array $parameters, 
 array $behaviour = array('SHOW_LEAF' => true)
);

Method prints parent target for specified location by its ID. Static method.

Parameters

ParameterDescriptionVersion
$codeLocation code.
$parametersArray with additional selected parameters.
$behaviourArray with additional behaviour flags. System parameter.

Example



© «Bitrix24», 2001-2024
Up