ModelRelationsAndAttributesToMatrixReportAdapter Class Reference

Inheritance diagram for ModelRelationsAndAttributesToMatrixReportAdapter:
ModelRelationsAndAttributesToSummableReportAdapter ModelRelationsAndAttributesToReportAdapter

Protected Member Functions

 resolveGroupByAttributesForDisplayAttributes (RedBeanModel $precedingModel=null, $precedingRelation=null, &$attributes, $existingGroupBys)

Static Protected Member Functions

static getAttributeTypesToExcludeAsGroupByModifiers ()

Detailed Description

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

Definition at line 40 of file ModelRelationsAndAttributesToMatrixReportAdapter.php.


Member Function Documentation

resolveGroupByAttributesForDisplayAttributes ( RedBeanModel precedingModel = null,
precedingRelation = null,
&$  attributes,
existingGroupBys 
) [protected]

Matrix reports never allow the group by attribute as a display attribute since only calculations are displayed in the matrix. (non-PHPdoc)

See also:
ModelRelationsAndAttributesToSummableReportAdapter::resolveGroupByAttributesForDisplayAttributes()

Reimplemented from ModelRelationsAndAttributesToSummableReportAdapter.

Definition at line 48 of file ModelRelationsAndAttributesToMatrixReportAdapter.php.

static getAttributeTypesToExcludeAsGroupByModifiers (  )  [static, protected]

Additional attribute types are not allowed for matrix groupings. Once banding is built, numbers and currencyValues can be grouped on.

Returns:
array

Reimplemented from ModelRelationsAndAttributesToSummableReportAdapter.

Definition at line 62 of file ModelRelationsAndAttributesToMatrixReportAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jun 22 07:10:27 2017