• Модуль: socialservices
  • Путь к файлу: ~/bitrix/modules/socialservices/classes/general/bitrixservice.php
  • Класс: CBitrixServiceTransport
  • Вызов: CBitrixServiceTransport::batch
public function batch($actions)
{
	$batch = array();

	if(is_array($actions))
	{
		foreach($actions as $query_key => $arCmd)
		{
			list($cmd, $arParams) = array_values($arCmd);
			$batch['cmd'][$query_key] = $cmd.(is_array($arParams) ? '?'.http_build_query($arParams) : '');
		}
	}

	return $this->call(static::METHOD_BATCH, $batch);
}