• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/ebay/exportoffer.php
  • Класс: BitrixCatalogEbayExportOffer
  • Вызов: ExportOffer::nextItem
protected function nextItem()
{
	if(!$obElement = $this->dbItems->GetNextElement())
		return false;

	$arItem = $obElement->GetFields();
	$arItem['PROPERTIES'] = $obElement->GetProperties();
	$arItem["QUANTITY"] = $this->getQuantity($arItem["ID"]);
	$arItem["PRICES"] = $this->getPrices($arItem["ID"], $this->arIblock['LID']);
	$arItem["CATEGORIES"] = $this->getCategories($arItem["ID"]);
	$arItem["DETAIL_PICTURE_URL"] = $this->getPictureUrl((int)$arItem["DETAIL_PICTURE"]);
	$arItem["PREVIEW_PICTURE_URL"] = $this->getPictureUrl((int)$arItem["PREVIEW_PICTURE"]);
	$arItem["PARAMS"] = $this->getParams($arItem, $this->arIblock);
	$arItem["DETAIL_PAGE_URL"] = $this->getDetailPageUrl($arItem["~DETAIL_PAGE_URL"]);

	return $arItem;
}