ExportItemToOutputUtil Class Reference

Inheritance diagram for ExportItemToOutputUtil:

Static Public Member Functions

static export ($data, $headerData=array(), $exportFileName= 'exports.csv', $download=false)

Static Public Attributes

static $mimeType = 'application/octet-stream'

Detailed Description

Base class for all export types.

Definition at line 40 of file ExportItemToOutputUtil.php.

Member Function Documentation

static export ( data,
headerData = array(),
exportFileName = 'exports.csv',
download = false 
) [static]

Export data array into csv format and send generated file to web browser or return csv string, depending on $download parameter.

array $data
array $headerData
string $exportFileName
boolean $download

Definition at line 52 of file ExportItemToOutputUtil.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jul 18 07:10:57 2019