• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_contact.php
  • Класс: \CAllCrmContact
  • Вызов: CAllCrmContact::getCommentsAdapter
static function getCommentsAdapter(): Crm\Entity\Compatibility\Adapter\Comments
{
	if (!self::$commentsAdapter)
	{
		self::$commentsAdapter = new Crm\Entity\Compatibility\Adapter\Comments(\CCrmOwnerType::Contact);
	}

	return self::$commentsAdapter;
}