Documentation

getFirstEntityID

array|integer public static
\Bitrix\Crm\Binding\EntityBinding::getFirstEntityID(
  $entityTypeID,
 array $bindings
);

Method gets entity ID from first binding. Static method.

Parameters

ParameterDescriptionVersion
$entityTypeIDEntity type ID.
$bindingsBindings.

Exceptions

  • \Bitrix\Main\ArgumentOutOfRangeException
  • \Bitrix\Main\NotSupportedException

Example



© «Bitrix24», 2001-2024