CAllCrmLead::getCommentsAdapter

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

	return self::$commentsAdapter;
}

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