All Data Structures Functions Variables Pages
Protected Member Functions
CalendarRowsAndColumnsReportDataProvider Class Reference
Inheritance diagram for CalendarRowsAndColumnsReportDataProvider:
RowsAndColumnsReportDataProvider ReportDataProvider

Protected Member Functions

 makeSelectQueryAdapter ($isDistinct=false)
 
 resolveSqlQueryAdapterForCount (RedBeanModelSelectQueryAdapter $selectQueryAdapter)
 
 fetchData ()
 
- Protected Member Functions inherited from RowsAndColumnsReportDataProvider
 isReportValidType ()
 
- 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)
 

Additional Inherited Members

- 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 ()
 
- Static Protected Member Functions inherited from ReportDataProvider
static resolveIdByOffset ($offset)
 
- Protected Attributes inherited from ReportDataProvider
 $report
 
 $runReport = false
 
 $offset
 
 $haveGrandTotals = false
 

Detailed Description

Data provider for rows and columns report for a calendar.

Definition at line 40 of file CalendarRowsAndColumnsReportDataProvider.php.

Member Function Documentation

makeSelectQueryAdapter (   $isDistinct = false)
protected

Makes sql query adapter.

Parameters
bool$isDistinct

Definition at line 47 of file CalendarRowsAndColumnsReportDataProvider.php.

resolveSqlQueryAdapterForCount ( RedBeanModelSelectQueryAdapter  $selectQueryAdapter)
protected

Resolve sql query adapter for count query.

Parameters
RedBeanModelSelectQueryAdapter$selectQueryAdapter

Definition at line 57 of file CalendarRowsAndColumnsReportDataProvider.php.

fetchData ( )
protected

By default report is returing only 10 items for any calendar thus overriding it here to remove limit so that all items would be returned and pagination would be handled by calendars module.

Returns
array

Definition at line 68 of file CalendarRowsAndColumnsReportDataProvider.php.


The documentation for this class was generated from the following file:
Generated on Thu Jan 23 2020 07:10:27