• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/journal.php
  • Класс: BitrixSaleTradingPlatformVkJournal
  • Вызов: Journal::getStatistic
static function getStatistic($type, $exportId)
{
	$resJournal = ExportProfileTable::getList(array(
			"filter" => array('=ID' => $exportId),
			"select" => array("JOURNAL"),
		)
	);
	$journal = $resJournal->fetch();
	if (!$journal)
		return false;
	else
		$journal = $journal["JOURNAL"];
	
	//check if process stopped, but journal not ending
	return self::getCheckedEndingJournal($type, $exportId, $journal);
}