• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/event.php
  • Класс: BitrixPullEvent
  • Вызов: Event::getParamsCode
static function getParamsCode($params)
{
	if (isset($params['groupId']) && !empty($params['groupId']))
	{
		return md5($params['groupId']);
	}
	else
	{
		$paramsWithoutTime = $params;

		unset($paramsWithoutTime['extra']['server_time']);
		unset($paramsWithoutTime['extra']['server_time_unix']);
		unset($paramsWithoutTime['advanced_params']['filterCallback']);

		return serialize($paramsWithoutTime);
	}
}