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

Public Member Functions

 resolveCastingHintForAttribute ($modelToReportAdapter, $modelAttributeToDataProviderAdapter, $modelClassName, $realAttributeName)
 
- Public Member Functions inherited from ReportItemQueryBuilder
 __construct (ComponentForReportForm $componentForm, RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter, ModelRelationsAndAttributesToReportAdapter $modelToReportAdapter, $currencyConversionType=null)
 
 resolveComponentAttributeStringContent ()
 

Protected Member Functions

 resolveFinalContent ($modelAttributeToDataProviderAdapter, $onTableAliasName=null)
 
 makeModelAttributeToDataProviderAdapterForRelationReportedAsAttribute ($modelToReportAdapter, $attribute)
 
 makeModelAttributeToDataProviderAdapter ($modelToReportAdapter, $attribute)
 
- Protected Member Functions inherited from ReportItemQueryBuilder
 makeModelAttributeToDataProviderAdapterForRelationReportedAsAttribute ($modelToReportAdapter, $attribute)
 
 resolveComponentAttributeStringContentForNonNestedAttribute ()
 
 resolveComponentAttributeStringContentForNestedAttribute ()
 
 makeModelAttributeToDataProviderAdapter ($modelToReportAdapter, $attribute)
 
 resolveCastingHintForAttribute ($modelToReportAdapter, $modelAttributeToDataProviderAdapter, $modelClassName, $realAttributeName)
 
 shouldPrematurelyStopBuildingJoinsForAttribute ($modelToReportAdapter, $modelAttributeToDataProviderAdapter)
 
 getAttributeClauseQueryStringExtraPart ($tableAliasName)
 

Protected Attributes

 $filtersStructure
 
- Protected Attributes inherited from ReportItemQueryBuilder
 $componentForm
 
 $modelToReportAdapter
 
 $joinTablesAdapter
 
 $currencyConversionType
 

Additional Inherited Members

- Static Protected Member Functions inherited from ReportItemQueryBuilder
static resolveRelatedAttributeForMakingAdapter ($modelToReportAdapter, $attribute)
 
static makeModelAttributeToDataProviderAdapterForDynamicallyDerivedAttribute ($modelToReportAdapter, $attribute)
 

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

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

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

Definition at line 124 of file FilterReportItemQueryBuilder.php.


The documentation for this class was generated from the following file:
Generated on Sun Jan 26 2020 07:10:33