![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-grouped-import-export/Model/Export/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\GroupedImportExport\Model\Export; use Magento\CatalogImportExport\Model\Export\RowCustomizerInterface; class RowCustomizer implements RowCustomizerInterface { /** * Prepare data for export * * @param mixed $collection * @param int $productIds * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function prepareData($collection, $productIds) { return; } /** * Set headers columns * * @param array $columns * @return mixed */ public function addHeaderColumns($columns) { $columns = array_merge( $columns, [ 'associated_skus' ] ); return $columns; } /** * Add data for export * * @param array $dataRow * @param int $productId * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function addData($dataRow, $productId) { return $dataRow; } /** * Calculate the largest links block * * @param array $additionalRowsCount * @param int $productId * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function getAdditionalRowsCount($additionalRowsCount, $productId) { return $additionalRowsCount; } }