All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions | Protected Attributes
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

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:
Generated on Sat Mar 28 2020 07:11:18