VariableStatesForReportUtil Class Reference

Inheritance diagram for VariableStatesForReportUtil:
ComponentTraversalUtil

Static Public Member Functions

static resolveAttributeIndexes ($modelClassName, &$attributeIndexes, $attributeIndexPrefix=null)

Detailed Description

Class to help resolve variable states. When a filter is used from a related model, if that model's module has variable states, then the appropriate states must be added as additional attribute data to later be filtered on. If for example you are using an account's contact's name, then you need to filter contacts by states that do not include leads.

Definition at line 43 of file VariableStatesForReportUtil.php.


Member Function Documentation

static resolveAttributeIndexes ( modelClassName,
&$  attributeIndexes,
attributeIndexPrefix = null 
) [static]
Parameters:
$modelClassName 
array $attributeIndexes
null $attributeIndexPrefix
Exceptions:
PartialRightsForReportSecurityException if the current user is lacking rights to at least one of the states.

Definition at line 52 of file VariableStatesForReportUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Apr 30 07:10:30 2017