RelatedItemRelationToModelElementUtil Class Reference

Static Public Member Functions

static resolveModelElementTypeByActionSecurity ($modelClassName, $user, &$canAccess)

Detailed Description

Helper class to resolve correct model element type to use in the user interface based on the user's rights to access specified modules. Special consideration is given for the contact model. In the case of the contact model, the access for the leads module must be considered. This will help determine how many states to show.

Definition at line 42 of file RelatedItemRelationToModelElementUtil.php.

Member Function Documentation

static resolveModelElementTypeByActionSecurity ( modelClassName,
&$  canAccess 
) [static]
string $modelClassName
User $user

Definition at line 50 of file RelatedItemRelationToModelElementUtil.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Nov 14 07:11:07 2019