All Data Structures Functions Variables Pages
Static Public Member Functions
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,
  $user,
$canAccess 
)
static
Parameters
string$modelClassName
User$user
$canAccess
Returns
string

Definition at line 50 of file RelatedItemRelationToModelElementUtil.php.


The documentation for this class was generated from the following file:
Generated on Tue Jan 28 2020 07:10:39