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

	return self::$commentsAdapter;
}