CCrmAddressRestProxy::exists

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmAddressRestProxy
  4. exists
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
  • Класс: \CCrmAddressRestProxy
  • Вызов: CCrmAddressRestProxy::exists
protected function exists($typeID, $entityTypeID, $entityID)
{
	$entity = self::getEntity();

	$result = $entity->getList(array(
			'filter' => array('TYPE_ID' => $typeID,
					'ENTITY_TYPE_ID' => $entityTypeID,
					'ENTITY_ID' => $entityID)
	));

	return $result->fetch();
}

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