• Модуль: salescenter
  • Путь к файлу: ~/bitrix/modules/salescenter/lib/integration/crmmanager.php
  • Класс: BitrixSalesCenterIntegrationCrmManager
  • Вызов: CrmManager::getClientInfo
public function getClientInfo($ownerTypeId, $ownerId)
{
	$clientInfo = [];

	if($this->isEnabled)
	{
		$clientInfo =
			ClientInfo::createFromOwner(
				(int)$ownerTypeId,
				(int)$ownerId
			)
			->toArray()
		;
	}

	return $clientInfo;
}