EntityEditorConfig::setScope

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. EntityEditorConfig
  4. setScope
  • Модуль: 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;
}

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