ReportItemQueryBuilder Class Reference

Inheritance diagram for ReportItemQueryBuilder:
DisplayAttributeReportItemQueryBuilder FilterReportItemQueryBuilder GroupByReportItemQueryBuilder OrderByReportItemQueryBuilder

Public Member Functions

 __construct (ComponentForReportForm $componentForm, RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter, ModelRelationsAndAttributesToReportAdapter $modelToReportAdapter, $currencyConversionType=null)
 resolveComponentAttributeStringContent ()

Protected Member Functions

 makeModelAttributeToDataProviderAdapterForRelationReportedAsAttribute ($modelToReportAdapter, $attribute)
 resolveComponentAttributeStringContentForNonNestedAttribute ()
 resolveComponentAttributeStringContentForNestedAttribute ()
 makeModelAttributeToDataProviderAdapter ($modelToReportAdapter, $attribute)
 resolveCastingHintForAttribute ($modelToReportAdapter, $modelAttributeToDataProviderAdapter, $modelClassName, $realAttributeName)
 shouldPrematurelyStopBuildingJoinsForAttribute ($modelToReportAdapter, $modelAttributeToDataProviderAdapter)
 getAttributeClauseQueryStringExtraPart ($tableAliasName)

Static Protected Member Functions

static resolveRelatedAttributeForMakingAdapter ($modelToReportAdapter, $attribute)
static makeModelAttributeToDataProviderAdapterForDynamicallyDerivedAttribute ($modelToReportAdapter, $attribute)

Protected Attributes

 $componentForm
 $modelToReportAdapter
 $joinTablesAdapter
 $currencyConversionType

Detailed Description

Definition at line 40 of file ReportItemQueryBuilder.php.


Constructor & Destructor Documentation

__construct ( ComponentForReportForm componentForm,
RedBeanModelJoinTablesQueryAdapter joinTablesAdapter,
ModelRelationsAndAttributesToReportAdapter modelToReportAdapter,
currencyConversionType = null 
)
Parameters:
ComponentForReportForm $componentForm
RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter
ModelRelationsAndAttributesToReportAdapter $modelToReportAdapter
null | integer $currencyConversionType

Definition at line 68 of file ReportItemQueryBuilder.php.


Member Function Documentation

static resolveRelatedAttributeForMakingAdapter ( modelToReportAdapter,
attribute 
) [static, protected]
Parameters:
$modelToReportAdapter 
string $attribute
Returns:
null|string

Definition at line 85 of file ReportItemQueryBuilder.php.

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

Reimplemented in OrderByReportItemQueryBuilder.

Definition at line 105 of file ReportItemQueryBuilder.php.

resolveComponentAttributeStringContent (  ) 
Returns:
string
Exceptions:
NotSupportedException if the $attributeAndRelationData

Definition at line 117 of file ReportItemQueryBuilder.php.

makeModelAttributeToDataProviderAdapterForRelationReportedAsAttribute ( modelToReportAdapter,
attribute 
) [protected]
resolveComponentAttributeStringContentForNonNestedAttribute (  )  [protected]
Returns:
string

Definition at line 151 of file ReportItemQueryBuilder.php.

resolveComponentAttributeStringContentForNestedAttribute (  )  [protected]
Returns:
string
Exceptions:
NotSupportedException 

Definition at line 163 of file ReportItemQueryBuilder.php.

makeModelAttributeToDataProviderAdapter ( modelToReportAdapter,
attribute 
) [protected]
Parameters:
$modelToReportAdapter 
$attribute 
Returns:
DerivedRelationViaCastedUpRedBeanModelAttributeToDataProviderAdapter| InferredRedBeanModelAttributeToDataProviderAdapter|RedBeanModelAttributeToDataProviderAdapter

Reimplemented in DisplayAttributeReportItemQueryBuilder, FilterReportItemQueryBuilder, GroupByReportItemQueryBuilder, and OrderByReportItemQueryBuilder.

Definition at line 224 of file ReportItemQueryBuilder.php.

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

Reimplemented in DisplayAttributeReportItemQueryBuilder, and FilterReportItemQueryBuilder.

Definition at line 274 of file ReportItemQueryBuilder.php.

shouldPrematurelyStopBuildingJoinsForAttribute ( modelToReportAdapter,
modelAttributeToDataProviderAdapter 
) [protected]
Parameters:
$modelToReportAdapter 
$modelAttributeToDataProviderAdapter 
Returns:
bool

Reimplemented in DisplayAttributeReportItemQueryBuilder.

Definition at line 289 of file ReportItemQueryBuilder.php.

getAttributeClauseQueryStringExtraPart ( tableAliasName  )  [protected]
Parameters:
string $tableAliasName
Returns:
string

Definition at line 301 of file ReportItemQueryBuilder.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jun 26 07:10:29 2017