• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/rest.php
  • Класс: BitrixPullRest
  • Вызов: Rest::pushConfigGet
static function pushConfigGet($params, $n, CRestServer $server)
{
	$result = array();
	$config = BitrixPullPush::getConfig();
	if (!$config)
	{
		$config = Array();
	}

	foreach ($config as $moduleId => $module)
	{
		foreach ($module as $typeId => $typeValue)
		{
			$result[] = Array(
				'module_id' => $moduleId,
				'type' => $typeId,
				'active' => $typeValue
			);
		}
	}
	return $result;
}