ReportToExportAdapter Class Reference

Inheritance diagram for ReportToExportAdapter:
MatrixReportToExportAdapter RowsAndColumnsReportToExportAdapter SummationDrillDownReportToExportAdapter SummationReportToExportAdapter

Public Member Functions

 __construct (ReportDataProvider $dataProvider, Report $report)
 getData ()
 getHeaderData ()

Protected Member Functions

 makeData ()
 resolveExportClassNameForReportToExportValueAdapter (DisplayAttributeForReportForm $displayAttribute)
 resolveParamsForCurrencyTypes (DisplayAttributeForReportForm $displayAttribute, &$params)
 resolveParamsForGrandTotals (DisplayAttributeForReportForm $displayAttribute, &$params, $isFirstRow, $isFirstColumn)

Protected Attributes

 $dataProvider
 $dataForExport
 $dataForGrandTotals
 $headerData
 $data
 $report

Detailed Description

Abstract class used to convert report models into arrays

Definition at line 40 of file ReportToExportAdapter.php.


Member Function Documentation

makeData (  )  [protected]

Override if needed to adapt the way data is made for export

Reimplemented in MatrixReportToExportAdapter, and SummationReportToExportAdapter.

Definition at line 77 of file ReportToExportAdapter.php.

resolveExportClassNameForReportToExportValueAdapter ( DisplayAttributeForReportForm displayAttribute  )  [protected]
Parameters:
DisplayAttributeForReportForm $displayAttribute
Returns:
string

Definition at line 115 of file ReportToExportAdapter.php.

resolveParamsForCurrencyTypes ( DisplayAttributeForReportForm displayAttribute,
&$  params 
) [protected]
Parameters:
DisplayAttributeForReportForm $displayAttribute
array $params

Definition at line 132 of file ReportToExportAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Sep 26 07:10:29 2017