• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/settings/integersetting.php
  • Класс: Bitrix\Crm\Settings\IntegerSetting
  • Вызов: IntegerSetting::set
public function set($value)
{
	$value = (int)$value;
	if($value === $this->default)
	{
		Main\Config\Option::delete('crm', array('name' => $this->name));
	}
	else
	{
		Main\Config\Option::set('crm', $this->name, $value, '');
	}
}