ExportItemToOutputUtil Class Reference

Inheritance diagram for ExportItemToOutputUtil:
ExportItemToCsvFileUtil

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.

Parameters:
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 Tue Mar 28 07:10:24 2017