• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/security/controller/base.php
  • Класс: Bitrix\Crm\Security\Controller\Base
  • Вызов: Base::getDataClass
protected function getDataClass(): string
{
	$dataClass = '';
	$factory = Crm\Service\Container::getInstance()->getFactory($this->getEntityTypeId());
	if ($factory)
	{
		$dataClass = $factory->getDataClass();
	}
	if (!$dataClass)
	{
		throw new NotSupportedException('No DataManager class found for entity type ' . $this->getEntityTypeId());
	}

	return $dataClass;
}