• Модуль: mobile
  • Путь к файлу: ~/bitrix/modules/mobile/lib/rest/component.php
  • Класс: BitrixMobileRestComponent
  • Вызов: Component::setParams
static function setParams($params, $offset, CRestServer $server)
{
	global $USER;

	if (array_key_exists('clear', $params) && array_key_exists('name', $params)) {
		$userId = $USER->getId();
		$optionName = 'clear_'.$params['name'].'_'.$userId;
		BitrixMainConfigOption::set("mobile", $optionName, true);
	}

	return [];

}