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

ModelRelationsAndAttributesToSummationReportAdapter Class Reference

Inheritance diagram for ModelRelationsAndAttributesToSummationReportAdapter:
ModelRelationsAndAttributesToSummableReportAdapter ModelRelationsAndAttributesToReportAdapter

Public Member Functions

 getAttributesForOrderBys ($existingGroupBys=array(), $existingDisplayAttributes=array(), RedBeanModel $precedingModel=null, $precedingRelation=null)
 getForDrillDownAttributes ()
 getAttributesForChartSeries ($existingGroupBys=array(), $existingDisplayAttributes=array())
 getAttributesForChartRange ($existingDisplayAttributes=array())

Detailed Description

Helper class for managing adapting model relations and attributes into a summation report

Definition at line 40 of file ModelRelationsAndAttributesToSummationReportAdapter.php.


Member Function Documentation

getAttributesForOrderBys ( existingGroupBys = array(),
existingDisplayAttributes = array(),
RedBeanModel precedingModel = null,
precedingRelation = null 
)

Expected to be called from

See also:
ReportRelationsAndAttributesToTreeAdapter. This means the returned attributes should not carry any previous relation information. For example, hasOne___phone as an existing groupBy should return as 'phone' since it would be expected that it would be called on during just the ReportModelTestItem2 branch of the tree.
Parameters:
array $existingGroupBys
array $existingDisplayAttributes
null|RedBeanModel $precedingModel
null|string $precedingRelation
Returns:
array
Exceptions:
NotSupportedException if there the preceding model and relation are not either both defined or both null

Definition at line 55 of file ModelRelationsAndAttributesToSummationReportAdapter.php.

getForDrillDownAttributes (  ) 
Returns:
array

Definition at line 136 of file ModelRelationsAndAttributesToSummationReportAdapter.php.

getAttributesForChartSeries ( existingGroupBys = array(),
existingDisplayAttributes = array() 
)
Parameters:
array $existingGroupBys
array $existingDisplayAttributes
Returns:
array

Definition at line 149 of file ModelRelationsAndAttributesToSummationReportAdapter.php.

getAttributesForChartRange ( existingDisplayAttributes = array()  ) 
Parameters:
array $existingDisplayAttributes
Returns:
array

Definition at line 170 of file ModelRelationsAndAttributesToSummationReportAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jan 19 07:10:25 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