CAllCrmDeal::getCommentsAdapter

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CAllCrmDeal
  4. getCommentsAdapter
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_deal.php
  • Класс: \CAllCrmDeal
  • Вызов: CAllCrmDeal::getCommentsAdapter
static function getCommentsAdapter(): Crm\Entity\Compatibility\Adapter\Comments
{
	if (!self::$commentsAdapter)
	{
		self::$commentsAdapter = new Crm\Entity\Compatibility\Adapter\Comments(\CCrmOwnerType::Deal);
	}

	return self::$commentsAdapter;
}

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