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
Parameter | Description | Version |
---|---|---|
$entityPrimary | Entity that is checked. | |
$locationPrimary | Location ID or code that is checked. | |
$behaviour | Set of flags modifying method behaviour. |
Example
© «Bitrix24», 2001-2024
Up