• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Relation/Settings.php
  • Класс: Bitrix\Crm\Relation\Settings
  • Вызов: Settings::setRelationType
public function setRelationType(string $relationType): self
{
	if (!RelationType::isDefined($relationType))
	{
		throw new ArgumentOutOfRangeException('relationType');
	}

	$this->relationType = $relationType;

	return $this;
}