• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/entity/entityeditorconfig.php
  • Класс: Bitrix\Crm\Entity\EntityEditorConfig
  • Вызов: EntityEditorConfig::setScope
public function setScope($scope)
{
	if(!is_string($scope))
	{
		$scope = (string)$scope;
	}

	if(!Crm\Entity\EntityEditorConfigScope::isDefined($scope))
	{
		throw new Main\ArgumentException("Must belong to range specified by Crm\Entity\EntityEditorConfigScope");
	}
	$this->scope = $scope;
}