All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions | Protected Attributes
SummationReportDataProvider Class Reference
Inheritance diagram for SummationReportDataProvider:
ReportDataProvider

Public Member Functions

 __construct (Report $report, array $config=array())
 
 calculateTotalItemCount ()
 
 makeReportDataProviderToAmChartMakerAdapter ()
 
 resolveDisplayAttributes ()
 
 resolveFirstSeriesLabel ()
 
 resolveFirstRangeLabel ()
 
 resolveIsFirstRangeAttributeATypeOfCurrencyValue ()
 
- Public Member Functions inherited from ReportDataProvider
 __construct (Report $report, array $config=array())
 
 setRunReport ($runReport)
 
 getReport ()
 
 resolveDisplayAttributes ()
 
 resolveGroupBys ()
 
 calculateTotalItemCount ()
 
 makeTotalCountSqlQueryForDisplay ()
 
 makeSqlQueryForDisplay ()
 
 resolveFiltersForReadPermissions (array $filters, &$filtersStructure)
 
 resolveFiltersForVariableStates ($filters, &$filtersStructure)
 
 getData ($refresh=false)
 
 setOffset ($offset)
 
 runQueryAndGrandTotalsData ()
 

Protected Member Functions

 isReportValidType ()
 
 fetchChartData ()
 
 resolveChartFirstSeriesAttributeNameForReportResultsRowData ()
 
 resolveChartFirstRangeAttributeNameForReportResultsRowData ()
 
 resolveChartSecondSeriesAttributeNameForReportResultsRowData ()
 
 resolveChartSecondRangeAttributeNameForReportResultsRowData ()
 
 makeNonStackedReportDataProviderToAmChartMakerAdapter ()
 
 makeStackedReportDataProviderToAmChartMakerAdapter ()
 
- Protected Member Functions inherited from ReportDataProvider
 isReportValidType ()
 
 fetchData ()
 
 resolveOffset ()
 
 resolveLimit ()
 
 runQueryAndGetResolveResultsData ($offset, $limit)
 
 getRowsData ($sql)
 
 getGrandTotalsRowsData ()
 
 fetchKeys ()
 
 makeSqlQueryForFetchingData (RedBeanModelSelectQueryAdapter $selectQueryAdapter, $offset, $limit)
 
 makeSqlQueryForFetchingTotalItemCount ($selectQueryAdapter, $selectJustCount=false)
 
 getDisplayAttributesForGrandTotals ()
 
 makeSqlQueryForGrandTotals ()
 
 makeDisplayAttributes (RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter, RedBeanModelSelectQueryAdapter $selectQueryAdapter)
 
 makeFiltersContent (RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter)
 
 makeOrderBysContent (RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter)
 
 makeGroupBysContent (RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter)
 
 makeGroupBysContentForGrandTotals (RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter)
 
 makeGroupBysContentForCount (RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter)
 
 resolveFilterForReadPermissionAttributeIndex ($attributeIndexOrDerivedTypePrefix, $attributeOrDerivedAttributeType)
 
 makeReadPermissionsAttributeIndexes (array $filters)
 
 resolveFilterForVariableStateAttributeIndex ($attributeIndexOrDerivedTypePrefix, $variableStateData)
 
 makeVariableStatesAttributeIndexes (array $filters)
 
 getDisplayAttributeByAttribute ($attribute)
 
 getDisplayAttributeKeyByAttribute ($attribute)
 
 makeSelectQueryAdapter ($isDistinct=false)
 
 resolveSqlQueryAdapterForCount (RedBeanModelSelectQueryAdapter $selectQueryAdapter)
 

Protected Attributes

 $haveGrandTotals = true
 
- Protected Attributes inherited from ReportDataProvider
 $report
 
 $runReport = false
 
 $offset
 
 $haveGrandTotals = false
 

Additional Inherited Members

- Static Protected Member Functions inherited from ReportDataProvider
static resolveIdByOffset ($offset)
 

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

Definition at line 55 of file SummationReportDataProvider.php.

Member Function Documentation

calculateTotalItemCount ( )
Returns
int

Definition at line 63 of file SummationReportDataProvider.php.

makeReportDataProviderToAmChartMakerAdapter ( )
resolveDisplayAttributes ( )
Returns
array|null

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.

resolveIsFirstRangeAttributeATypeOfCurrencyValue ( )
Returns
bool

Definition at line 140 of file SummationReportDataProvider.php.

isReportValidType ( )
protected
Returns
bool|void
Exceptions
NotSupportedExceptionif the report is not valid for this data provider

Definition at line 156 of file SummationReportDataProvider.php.

fetchChartData ( )
protected
Returns
array

Definition at line 167 of file SummationReportDataProvider.php.

resolveChartFirstSeriesAttributeNameForReportResultsRowData ( )
protected
Returns
null | string

Definition at line 175 of file SummationReportDataProvider.php.

resolveChartFirstRangeAttributeNameForReportResultsRowData ( )
protected
Returns
null | string

Definition at line 189 of file SummationReportDataProvider.php.

resolveChartSecondSeriesAttributeNameForReportResultsRowData ( )
protected
Returns
null | string

Definition at line 203 of file SummationReportDataProvider.php.

resolveChartSecondRangeAttributeNameForReportResultsRowData ( )
protected
Returns
null | string

Definition at line 217 of file SummationReportDataProvider.php.

makeNonStackedReportDataProviderToAmChartMakerAdapter ( )
protected
makeStackedReportDataProviderToAmChartMakerAdapter ( )
protected

The documentation for this class was generated from the following file:
Generated on Thu May 28 2020 07:11:01