CCrmUserCounterSettings::SetValue

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmUserCounterSettings
  4. SetValue
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/user_counter.php
  • Класс: \CCrmUserCounterSettings
  • Вызов: CCrmUserCounterSettings::SetValue
static function SetValue($setting, $value)
{
	$setting = intval($setting);
	if(!self::IsDefined($setting))
	{
		return;
	}

	if($setting === self::ReckonActivitylessItems)
	{
		self::SetBooleanValue('usr_counter_reckon_items', $value);
		\Bitrix\Crm\Counter\EntityCounterManager::processSettingChange(self::ReckonActivitylessItems, $value);
	}
}

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