|static||resolveModelElementTypeByActionSecurity ($modelClassName, $user, &$canAccess)|
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.