Открытые члены | |
getConvertField ($custom_fields) | |
writeOffer (ExportProfile $profile,\XMLWriter $writer, Product $product, $offer_id) | |
![]() | |
getTitle () | |
getShortName () | |
setExportTypeName ($export_type_name) | |
getEspecialTags () | |
writeOffer (ExportProfile $profile,\XMLWriter $writer, Product $product, $offer_id) | |
getPropUnitForExport ($product, $key) | |
writeOfferPictures ($product, $offer_index, $profile,\XMLWriter $writer) | |
Защищенные члены | |
writeEspecialOfferTags (ExportProfile $profile,\XMLWriter $writer, Product $product, $offer_id) | |
getElementFromCustomField (Field $field, ExportProfile $profile, Product $product) | |
addCustomProfileEspecialTags (ExportProfile $profile) | |
addCommonEspecialTags ($fields) | |
writeOfferImages (ExportProfile $profile,\XMLWriter $writer, Product $product, $current_offer) | |
![]() | |
addCommonEspecialTags ($fields) | |
addSelfEspecialTags ($fields) | |
addCustomEspecialTags ($fields) | |
writeElementFromFieldmap (Field $field, ExportProfile $profile,\XMLWriter $writer, Product $product, $offer_id=null) | |
getElementFromFieldmap (Field $field, ExportProfile $profile,\XMLWriter $writer, Product $product) | |
writeEspecialOfferTags (ExportProfile $profile,\XMLWriter $writer, Product $product, $offer_id) | |
fireOfferEvent ($event_name, ExportProfile $profile,\XMLWriter $writer, Product $product, $offer_index) | |
Дополнительные унаследованные члены | |
![]() | |
$export_type_name | |
|
protected |
Дополняет список "особенных" полей, общими для всех типов описания данного типа экспорта
$fields | - массив "особенных" полей |
|
protected |
Дополняет список "особенных" полей для данного типа описания, созданных пользователем в профиле экспорта.
ExportProfile | $profile |
getConvertField | ( | $custom_fields | ) |
Возвращает объект, преобразованный из структуры: [ '0' => ['name' => 'name1', ...], '2' => ['name' => 'name1', ...]] в структуру: [ 'name1' => [...], 'name2' => [...]]
$custom_fields |
|
protected |
Получить элемент в соответствии с настройками сопоставления полей экспорта свойствам товара
Field | $field | |
ExportProfile | $profile | |
Product | $product |
RSException |
|
protected |
Запись "Особенных" полей, для данного типа описания Перегружается в потомке. По умолчанию выводит все поля в соответствии с fieldmap
ExportProfile | $profile | - объект профиля экспорта |
\XMLWriter | $writer | - объект библиотеки для записи XML |
Product | $product | - объект товара |
integer | $offer_id | - индекс комплектации для отображения |
RSException |
writeOffer | ( | ExportProfile | $profile, |
\XMLWriter | $writer, | ||
Product | $product, | ||
$offer_id | |||
) |
Запись товарного предложения
ExportProfile | $profile | - объект профиля экспорта |
\XMLWriter | $writer | - объект библиотеки для записи XML |
Product | $product | - объект товара |
integer | $offer_id | - индекс комплектации для отображения |
RSException |
|
protected |
Добавляет в XML сведения с фото для товара или комплектации
ExportProfile | $profile | - объект профиля экспорта |
\XMLWriter | $writer | - объект библиотеки для записи XML |
Product | $product | - объект товара |
Offer | false | $current_offer | - текущая комплектация, объект или false |