CalendarRowsAndColumnsReportDataProvider Class Reference

Inheritance diagram for CalendarRowsAndColumnsReportDataProvider:
RowsAndColumnsReportDataProvider ReportDataProvider

Protected Member Functions

 makeSelectQueryAdapter ($isDistinct=false)
 resolveSqlQueryAdapterForCount (RedBeanModelSelectQueryAdapter $selectQueryAdapter)
 fetchData ()

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

Reimplemented from ReportDataProvider.

Definition at line 47 of file CalendarRowsAndColumnsReportDataProvider.php.

resolveSqlQueryAdapterForCount ( RedBeanModelSelectQueryAdapter selectQueryAdapter  )  [protected]

Resolve sql query adapter for count query.

Parameters:
RedBeanModelSelectQueryAdapter $selectQueryAdapter

Reimplemented from ReportDataProvider.

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

Reimplemented from ReportDataProvider.

Definition at line 68 of file CalendarRowsAndColumnsReportDataProvider.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue May 23 07:10:22 2017