• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/feed/data/sources/section.php
  • Класс: BitrixSaleTradingPlatformVkFeedDataSourcesSection
  • Вызов: Section::nextItem
private function nextItem()
{
	$currItem = NULL;
//		only if album exist and  not empty
	if ($obCurrItem = $this->resSections->GetNextElement(true, false))
	{
		$currItem = $obCurrItem->GetFields();
		if ($currItem["ELEMENT_CNT"] > 0)
//				put album alias from map. Better do it here and not getting map (only for it value) in converter
			$currItem["TO_ALBUM_ALIAS"] = isset($this->sectionsAliases[$currItem["ID"]]) ?
				$this->sectionsAliases[$currItem["ID"]] : false;
	}

	return $currItem;
}