CCrmLiveFeedComponent::needToProcessRequest

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmLiveFeedComponent
  4. needToProcessRequest
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/livefeed.php
  • Класс: \CCrmLiveFeedComponent
  • Вызов: CCrmLiveFeedComponent::needToProcessRequest
static function needToProcessRequest($method, $request)
{
	return ($method === 'POST' && isset($request['save']) && $request['save'] === 'Y')
		|| ($method === 'GET' && isset($request['SONET_FILTER_MODE']) && $request['SONET_FILTER_MODE'] !== '')
		|| ($method === 'GET' && isset($request['log_filter_submit']) && $request['log_filter_submit'] === 'Y')
		|| ($method === 'GET' && isset($request['preset_filter_id']) && $request['preset_filter_id'] !== '')
		|| ($method === 'GET' && isset($request['preset_filter_top_id']) && $request['preset_filter_top_id'] !== '');
}

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