• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/entity/entityeditorconfig.php
  • Класс: Bitrix\Crm\Entity\EntityEditorConfig
  • Вызов: EntityEditorConfig::__construct
public function __construct($entityTypeID, $userID, $scope, array $extras)
{
	if (!Main\Loader::includeModule('ui'))
	{
		throw new Main\NotSupportedException('ui module is required');
	}

	$this->entityTypeID = (int)$entityTypeID;
	$this->setUserID($userID > 0 ? $userID : \CCrmSecurityHelper::GetCurrentUserID());
	$this->setScope($scope);
	$this->extras = $extras;
	$this->configuration = new \Bitrix\UI\Form\EntityEditorConfiguration(self::CATEGORY_NAME);
}