ReportQueryBuilder Class Reference

Inheritance diagram for ReportQueryBuilder:
DisplayAttributesReportQueryBuilder FiltersReportQueryBuilder GroupBysReportQueryBuilder OrderBysReportQueryBuilder

Public Member Functions

 makeQueryContent (Array $components)
 __construct (RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter, $currencyConversionType=null)

Static Protected Member Functions

static makeModelToReportAdapterByComponentForm (ComponentForReportForm $componentForm)

Protected Attributes

 $joinTablesAdapter
 $currencyConversionType

Detailed Description

Base class for working with report components to build the necessary query parts to make a full report query

Definition at line 40 of file ReportQueryBuilder.php.


Constructor & Destructor Documentation

__construct ( RedBeanModelJoinTablesQueryAdapter joinTablesAdapter,
currencyConversionType = null 
)
Parameters:
RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter
null | integer $currencyConversionType

Reimplemented in FiltersReportQueryBuilder.

Definition at line 62 of file ReportQueryBuilder.php.


Member Function Documentation

makeQueryContent ( Array $  components  )  [abstract]
Parameters:
array $components
Returns:
string

Reimplemented in DisplayAttributesReportQueryBuilder, FiltersReportQueryBuilder, GroupBysReportQueryBuilder, and OrderBysReportQueryBuilder.

static makeModelToReportAdapterByComponentForm ( ComponentForReportForm componentForm  )  [static, protected]
Parameters:
ComponentForReportForm $componentForm
Returns:
ModelRelationsAndAttributesToReportAdapter

Definition at line 74 of file ReportQueryBuilder.php.


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