Class Export
Export Helper Class definition.
Methods summary
public static
|
#
exportToExcel( array $data, array $fields, boolean $table_caption = true, string $filename = 'export', string $date_format = 'Ymd' )
Formats data for MS Excel document. |
public static
boolean
|
#
populateCsvfileCustomQuery( array $query, string $csv_file, integer $walker_step = 1200, boolean $caption = true )
Exports data in CSV format and stores it in existing file. |
public static
string
|
#
getCsvBuffered( string $file, integer $chunk_size = 2, string $filename = null )
Buffered output of a csv file for download. |