Documentation

checkConnectionExists

boolean public static
\Bitrix\Sale\Location\Connector::checkConnectionExists(
 mixed $entityPrimary,
 mixed $locationPrimary,
 mixed $behaviour = array('LOCATION_LINK_TYPE' => 'ID')
);

Method checks if indicated location is associated with specified entity. Static method.

Parameters

ParameterDescriptionVersion
$entityPrimaryEntity that is checked.
$locationPrimaryLocation ID or code that is checked.
$behaviourSet of flags modifying method behaviour.

Example



© «Bitrix24», 2001-2024
Up