• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/rest.php
  • Класс: BitrixPullRest
  • Вызов: Rest::counterConfigGet
static function counterConfigGet($params, $n, CRestServer $server)
{
	$result = Array();
	$config = BitrixPullMobileCounter::getConfig();
	foreach ($config as $type => $value)
	{
		$result[] = Array(
			'type' => $type,
			'value' => $value,
		);
	}

	return $result;
}