getFirstEntityID
array|integer public static \Bitrix\Crm\Binding\EntityBinding::getFirstEntityID( $entityTypeID, array $bindings );
Method gets entity ID from first binding. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$entityTypeID | Entity type ID. | |
$bindings | Bindings. |
Exceptions
- \Bitrix\Main\ArgumentOutOfRangeException
- \Bitrix\Main\NotSupportedException
Example
© «Bitrix24», 2001-2024