ItemIdentifier::__toString

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. ItemIdentifier
  4. __toString
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/itemidentifier.php
  • Класс: Bitrix\Crm\ItemIdentifier
  • Вызов: ItemIdentifier::__toString
public function __toString(): string
{
	$entityTypeId = $this->getEntityTypeId();
	$entityName = \CCrmOwnerType::ResolveName($entityTypeId);
	$entityId = $this->getEntityId();

	return "Entity type ID: {$entityTypeId} ({$entityName}), entity ID: {$entityId}";
}

Добавить комментарий