Log in
Model

Export

Magento\ImportExport\Model\Export

What it does

This class handles the export functionality in Magento 2, allowing developers to export entity data (like products, customers, etc.) to various file formats (CSV, XML, etc.).

Use this class when you need to programmatically export data from Magento, apply filters to the export, or customize the export process by extending it or using it as a service for data extraction.

Public Methods

  • export()
  • filterAttributeCollection()
  • getAttributeFilterType()
  • getStaticAttributeFilterType()
  • getContentType()
  • getEntity()
  • getEntityAttributeCollection()
  • getFileFormat()
  • getFileName()