CSVExporter Class Reference

Inheritance diagram for CSVExporter:
Exporter ExporterInterface ExporterInterface FlatTextExporter HTMLExporter TabTextExporter

Public Member Functions

 __construct (ExportDataInterface $data, $filename= '')
 getInfo ()
 compile ($page_id=NULL)

Protected Member Functions

 collapseRow ($row)

Protected Attributes

 $extension = '.csv'
 $format
 $page = NULL

Detailed Description

Class CSVExporter


Constructor & Destructor Documentation

__construct ( ExportDataInterface data,
filename = '' 
)

Constructor

Reimplemented from Exporter.

Reimplemented in FlatTextExporter, and TabTextExporter.


Member Function Documentation

collapseRow ( row  )  [protected]

Collapse a row

compile ( page_id = NULL  ) 

Build $this->output in prep for export/save

This is the main method to be extended for the different exporters

Reimplemented from Exporter.

Reimplemented in FlatTextExporter, and HTMLExporter.

getInfo (  ) 

Return info about this class

Parameters:
type $string description
Returns:
array
  • name string The human name of this exporter
  • descripttion string A further description
  • extension string The file extension used by this class

Reimplemented from Exporter.

Reimplemented in FlatTextExporter, and TabTextExporter.


Field Documentation

$extension = '.csv' [protected]

Reimplemented from Exporter.

Reimplemented in FlatTextExporter, HTMLExporter, and TabTextExporter.

$format [protected]

Reimplemented in FlatTextExporter, and HTMLExporter.

$page = NULL [protected]

The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables

Generated on Fri Jan 17 20:40:34 2014 for Loft Data Grids by  doxygen 1.6.1