All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions
ModelRelationsAndAttributesToRowsAndColumnsReportAdapter Class Reference
Inheritance diagram for ModelRelationsAndAttributesToRowsAndColumnsReportAdapter:
ModelRelationsAndAttributesToReportAdapter CalendarModelRelationsAndAttributesToRowsAndColumnsReportAdapter MergeTagsModelRelationsAndAttributesToRowsAndColumnsReportAdapter

Public Member Functions

 getAttributesForFilters ()
 
 getAttributesForDisplayAttributes ()
 
 getAttributesForOrderBys ()
 
- Public Member Functions inherited from ModelRelationsAndAttributesToReportAdapter
 getModel ()
 
 getModelClassName ()
 
 getModuleClassName ()
 
 getRules ()
 
 __construct (RedBeanModel $model, ReportRules $rules, $reportType, $moduleClassName=null)
 
 getAttributeLabel ($attribute)
 
 getRelationLabel ($relation)
 
 isReportedOnAsARelation ($relationOrAttribute)
 
 getRelationModuleClassName ($relation)
 
 getRelationModelClassName ($relation)
 
 getAttributesForFilters ()
 
 getAttributesForDisplayAttributes ()
 
 getAttributesForOrderBys ()
 
 getAttributesForGroupBys ()
 
 getAvailableOperatorsType ($attribute)
 
 getFilterValueElementType ($attribute)
 
 getDisplayElementType ($attribute)
 
 getRealModelAttributeType ($attribute)
 
 getAllRelationsData ()
 
 getSelectableRelationsDataResolvedForUserAccess (User $user, Array $relations)
 
 getSelectableRelationsData (RedBeanModel $precedingModel=null, $precedingRelation=null)
 
 getAttributesIncludingDerivedAttributesData ()
 
 isRelationASingularRelation ($relation)
 
 isOwnedRelation ($relation)
 
 getInferredRelationsData (RedBeanModel $precedingModel=null, $precedingRelation=null)
 
 getFilterRulesByAttribute ($attribute, $ruleAttributeName)
 
 relationIsReportedAsAttribute ($relation)
 
 isDerivedRelationsViaCastedUpModelRelation ($relation)
 
 isInferredRelation ($relation)
 
 isDynamicallyDerivedAttribute ($attribute)
 
 getRawValueRelatedAttribute ($attribute)
 
 isAttributeReadOptimization ($attribute)
 
 isDerivedAttribute ($attribute)
 
 isDisplayAttributeMadeViaSelect ($attribute)
 

Protected Member Functions

 resolveAttributesForOrderBys (Array $attributes)
 
- Protected Member Functions inherited from ModelRelationsAndAttributesToReportAdapter
 getAttributesNotIncludingDerivedAttributesData ()
 
 derivedRelationLinksToPrecedingRelation ($relationModelClassName, $opposingRelation, RedBeanModel $precedingModel=null, $precedingRelation=null)
 
 inferredRelationLinksToPrecedingRelation ($inferredModelClassName, $relation, RedBeanModel $precedingModel=null, $precedingRelation=null)
 
 relationLinksToPrecedingRelation ($relation, RedBeanModel $precedingModel=null, $precedingRelation=null)
 
 getDerivedRelationsViaCastedUpModelData (RedBeanModel $precedingModel=null, $precedingRelation=null)
 
 getDerivedAttributesData ()
 
 getDynamicallyDerivedAttributesData ()
 
 getInferredRelationModelClassNamesForRelation ($relation)
 
 resolveRelationToSelectableRelationData (&$attributes, $attribute)
 
 getDerivedAttributesDataByReportRules ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ModelRelationsAndAttributesToReportAdapter
static forgetAll ()
 
static make ($moduleClassName, $modelClassName, $reportType)
 
static resolveRealAttributeName ($attribute)
 
- Data Fields inherited from ModelRelationsAndAttributesToReportAdapter
const DYNAMIC_ATTRIBUTE_USER = 'User'
 
const DYNAMIC_RELATION_INFERRED = 'Inferred'
 
- Protected Attributes inherited from ModelRelationsAndAttributesToReportAdapter
 $model
 
 $rules
 
 $reportType
 
 $moduleClassName
 

Detailed Description

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

Definition at line 40 of file ModelRelationsAndAttributesToRowsAndColumnsReportAdapter.php.

Member Function Documentation

getAttributesForFilters ( )
Returns
array

Definition at line 45 of file ModelRelationsAndAttributesToRowsAndColumnsReportAdapter.php.

getAttributesForDisplayAttributes ( )
Returns
array

Definition at line 56 of file ModelRelationsAndAttributesToRowsAndColumnsReportAdapter.php.

getAttributesForOrderBys ( )
Returns
array

Definition at line 68 of file ModelRelationsAndAttributesToRowsAndColumnsReportAdapter.php.

resolveAttributesForOrderBys ( Array  $attributes)
protected
Parameters
array$attributes
Returns
array

Definition at line 81 of file ModelRelationsAndAttributesToRowsAndColumnsReportAdapter.php.


The documentation for this class was generated from the following file:
Generated on Thu Apr 2 2020 07:11:14