SummationReportDataProvider Class Reference

Inheritance diagram for SummationReportDataProvider:
ReportDataProvider

Public Member Functions

 __construct (Report $report, array $config=array())
 calculateTotalItemCount ()
 makeReportDataProviderToAmChartMakerAdapter ()
 resolveDisplayAttributes ()
 resolveFirstSeriesLabel ()
 resolveFirstRangeLabel ()

Protected Member Functions

 isReportValidType ()
 fetchChartData ()
 resolveChartFirstSeriesAttributeNameForReportResultsRowData ()
 resolveChartFirstRangeAttributeNameForReportResultsRowData ()
 resolveChartSecondSeriesAttributeNameForReportResultsRowData ()
 resolveChartSecondRangeAttributeNameForReportResultsRowData ()
 makeNonStackedReportDataProviderToAmChartMakerAdapter ()
 makeStackedReportDataProviderToAmChartMakerAdapter ()

Protected Attributes

 $haveGrandTotals = true

Detailed Description

Data provider a report that is a summation report

Definition at line 40 of file SummationReportDataProvider.php.


Constructor & Destructor Documentation

__construct ( Report report,
array $  config = array() 
)
Parameters:
Report $report
array $config

Reimplemented from ReportDataProvider.

Definition at line 55 of file SummationReportDataProvider.php.


Member Function Documentation

calculateTotalItemCount (  ) 
Returns:
int

Reimplemented from ReportDataProvider.

Definition at line 63 of file SummationReportDataProvider.php.

makeReportDataProviderToAmChartMakerAdapter (  ) 
resolveDisplayAttributes (  ) 
Returns:
array|null

Reimplemented from ReportDataProvider.

Definition at line 90 of file SummationReportDataProvider.php.

resolveFirstSeriesLabel (  ) 
Returns:
mixed

Definition at line 112 of file SummationReportDataProvider.php.

resolveFirstRangeLabel (  ) 
Returns:
mixed

Definition at line 126 of file SummationReportDataProvider.php.

isReportValidType (  )  [protected]
Returns:
bool|void
Exceptions:
NotSupportedException if the report is not valid for this data provider

Reimplemented from ReportDataProvider.

Definition at line 141 of file SummationReportDataProvider.php.

fetchChartData (  )  [protected]
Returns:
array

Definition at line 152 of file SummationReportDataProvider.php.

resolveChartFirstSeriesAttributeNameForReportResultsRowData (  )  [protected]
Returns:
null | string

Definition at line 160 of file SummationReportDataProvider.php.

resolveChartFirstRangeAttributeNameForReportResultsRowData (  )  [protected]
Returns:
null | string

Definition at line 174 of file SummationReportDataProvider.php.

resolveChartSecondSeriesAttributeNameForReportResultsRowData (  )  [protected]
Returns:
null | string

Definition at line 188 of file SummationReportDataProvider.php.

resolveChartSecondRangeAttributeNameForReportResultsRowData (  )  [protected]
Returns:
null | string

Definition at line 202 of file SummationReportDataProvider.php.

makeNonStackedReportDataProviderToAmChartMakerAdapter (  )  [protected]
makeStackedReportDataProviderToAmChartMakerAdapter (  )  [protected]

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Apr 24 07:10:31 2017