FilterReportItemQueryBuilder Class Reference

Inheritance diagram for FilterReportItemQueryBuilder:
ReportItemQueryBuilder

Public Member Functions

 resolveCastingHintForAttribute ($modelToReportAdapter, $modelAttributeToDataProviderAdapter, $modelClassName, $realAttributeName)

Protected Member Functions

 resolveFinalContent ($modelAttributeToDataProviderAdapter, $onTableAliasName=null)
 makeModelAttributeToDataProviderAdapterForRelationReportedAsAttribute ($modelToReportAdapter, $attribute)
 makeModelAttributeToDataProviderAdapter ($modelToReportAdapter, $attribute)

Protected Attributes

 $filtersStructure

Detailed Description

Create the query string part for the SQL where part

Definition at line 40 of file FilterReportItemQueryBuilder.php.


Member Function Documentation

resolveCastingHintForAttribute ( modelToReportAdapter,
modelAttributeToDataProviderAdapter,
modelClassName,
realAttributeName 
)
Parameters:
$modelToReportAdapter 
$modelAttributeToDataProviderAdapter 
string $modelClassName
string $realAttributeName

Reimplemented from ReportItemQueryBuilder.

Definition at line 53 of file FilterReportItemQueryBuilder.php.

resolveFinalContent ( modelAttributeToDataProviderAdapter,
onTableAliasName = null 
) [protected]
Parameters:
$modelAttributeToDataProviderAdapter 
null | string $onTableAliasName
Returns:
string

Definition at line 77 of file FilterReportItemQueryBuilder.php.

makeModelAttributeToDataProviderAdapterForRelationReportedAsAttribute ( modelToReportAdapter,
attribute 
) [protected]
Parameters:
$modelToReportAdapter 
string $attribute
Returns:
RedBeanModelAttributeToDataProviderAdapter

Reimplemented from ReportItemQueryBuilder.

Definition at line 104 of file FilterReportItemQueryBuilder.php.

makeModelAttributeToDataProviderAdapter ( modelToReportAdapter,
attribute 
) [protected]

In the event $modelToReportAdapter is summable and is a calculated group by modifier, unlike DisplayAttributeReportItemQueryBuilder->makeModelAttributeToDataProviderAdapter, we do not need to resolve the relatedAttribute when creating the RedBeanModelAttributeToDataProviderAdapter since currently the attributes can only be date or dateTime.

Parameters:
$modelToReportAdapter 
string $attribute
Returns:
DerivedRelationViaCastedUpRedBeanModelAttributeToDataProviderAdapter | ReadOptimizationDerivedAttributeToDataProviderAdapter | RedBeanModelAttributeToDataProviderAdapter

Reimplemented from ReportItemQueryBuilder.

Definition at line 124 of file FilterReportItemQueryBuilder.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Mar 24 07:10:25 2017