All Data Structures Functions Variables Pages
Static Public Member Functions
VariableStatesForReportUtil Class Reference
Inheritance diagram for VariableStatesForReportUtil:

Static Public Member Functions

static resolveAttributeIndexes ($modelClassName, &$attributeIndexes, $attributeIndexPrefix=null)
- Static Public Member Functions inherited from ComponentTraversalUtil
static resolveAttributeIndexesByComponents (array &$attributeIndexes, Array $componentForms)
static resolveIndexesTogether (array &$attributeIndexes, array $attributeIndexesToResolve)

Additional Inherited Members

- Static Protected Member Functions inherited from ComponentTraversalUtil
static resolveAttributeIndexesByComponent (ComponentForReportForm $componentForm)

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,
  $attributeIndexPrefix = null 
PartialRightsForReportSecurityExceptionif 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:
Generated on Sat Jan 25 2020 07:10:47