Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

DisplayAttributeReportItemQueryBuilder Class Reference

Inheritance diagram for DisplayAttributeReportItemQueryBuilder:
ReportItemQueryBuilder

Public Member Functions

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

Protected Member Functions

 isDisplayAttributeMadeViaSelect ()
 resolveFinalContent ($modelAttributeToDataProviderAdapter, $onTableAliasName=null)
 resolveDisplayAttributeColumnName ($modelAttributeToDataProviderAdapter, $onTableAliasName=null)
 resolveDisplayAttributeForPrematurelyStoppingJoins ($modelAttributeToDataProviderAdapter, $onTableAliasName=null)
 resolveDisplayAttributeForProcessingAllJoins (ModelJoinBuilder $builder, $modelAttributeToDataProviderAdapter, $onTableAliasName=null)
 resolveColumnName (RedBeanModelAttributeToDataProviderAdapter $modelAttributeToDataProviderAdapter)
 resolvedModelClassName (RedBeanModelAttributeToDataProviderAdapter $modelAttributeToDataProviderAdapter)
 resolvedTableAliasName (RedBeanModelAttributeToDataProviderAdapter $modelAttributeToDataProviderAdapter, ModelJoinBuilder $builder)
 makeModelAttributeToDataProviderAdapter ($modelToReportAdapter, $attribute)
 shouldPrematurelyStopBuildingJoinsForAttribute ($modelToReportAdapter, $modelAttributeToDataProviderAdapter)
 resolveCastingHintForAttribute ($modelToReportAdapter, $modelAttributeToDataProviderAdapter, $modelClassName, $realAttributeName)
 makeModelAttributeToDataProviderAdapterForRelationReportedAsAttribute ($modelToReportAdapter, $attribute)

Protected Attributes

 $selectQueryAdapter

Detailed Description

Populate the RedBeanModelSelectQueryAdapter with the necessary columns or calculations to select

Definition at line 40 of file DisplayAttributeReportItemQueryBuilder.php.


Constructor & Destructor Documentation

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

Definition at line 54 of file DisplayAttributeReportItemQueryBuilder.php.


Member Function Documentation

isDisplayAttributeMadeViaSelect (  )  [protected]
Returns:
bool

Definition at line 67 of file DisplayAttributeReportItemQueryBuilder.php.

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

Definition at line 87 of file DisplayAttributeReportItemQueryBuilder.php.

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

Definition at line 96 of file DisplayAttributeReportItemQueryBuilder.php.

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

Definition at line 117 of file DisplayAttributeReportItemQueryBuilder.php.

resolveDisplayAttributeForProcessingAllJoins ( ModelJoinBuilder builder,
modelAttributeToDataProviderAdapter,
onTableAliasName = null 
) [protected]
Parameters:
ModelJoinBuilder $builder
$modelAttributeToDataProviderAdapter 
null | string $onTableAliasName
Exceptions:
NotSupportedException if the display attribute is made via select like SUM(integer) but the adapter being used is not a summation adapter

Definition at line 138 of file DisplayAttributeReportItemQueryBuilder.php.

resolveColumnName ( RedBeanModelAttributeToDataProviderAdapter modelAttributeToDataProviderAdapter  )  [protected]
Parameters:
RedBeanModelAttributeToDataProviderAdapter $modelAttributeToDataProviderAdapter
Returns:
string

Definition at line 174 of file DisplayAttributeReportItemQueryBuilder.php.

resolvedModelClassName ( RedBeanModelAttributeToDataProviderAdapter modelAttributeToDataProviderAdapter  )  [protected]
Parameters:
RedBeanModelAttributeToDataProviderAdapter $modelAttributeToDataProviderAdapter
Returns:
string

Definition at line 190 of file DisplayAttributeReportItemQueryBuilder.php.

resolvedTableAliasName ( RedBeanModelAttributeToDataProviderAdapter modelAttributeToDataProviderAdapter,
ModelJoinBuilder builder 
) [protected]
Parameters:
RedBeanModelAttributeToDataProviderAdapter $modelAttributeToDataProviderAdapter
ModelJoinBuilder $builder
Returns:
string

Definition at line 207 of file DisplayAttributeReportItemQueryBuilder.php.

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

Reimplemented from ReportItemQueryBuilder.

Definition at line 225 of file DisplayAttributeReportItemQueryBuilder.php.

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

Reimplemented from ReportItemQueryBuilder.

Definition at line 247 of file DisplayAttributeReportItemQueryBuilder.php.

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

Reimplemented from ReportItemQueryBuilder.

Definition at line 300 of file DisplayAttributeReportItemQueryBuilder.php.

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

Reimplemented from ReportItemQueryBuilder.

Definition at line 316 of file DisplayAttributeReportItemQueryBuilder.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 24 07:10:48 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8