TaskActionSecurityUtil Class Reference

Inheritance diagram for TaskActionSecurityUtil:

Static Public Member Functions

static resolveViewLinkToModelForCurrentUser ($model, $moduleClassName, $linkContent)

Detailed Description

Helper class for working with action security classes

Definition at line 40 of file TaskActionSecurityUtil.php.

Member Function Documentation

static resolveViewLinkToModelForCurrentUser ( model,
) [static]

Resolve a link to a related model. Used by

See also:
ListView for each row of a list for example. If the current user can Permission::READ the related model, then check if the current user has RIGHT_ACCESS_ to the model's related module. If current user has access then return link, otherwise return text. If current user cannot Permission::READ then return null.

Definition at line 54 of file TaskActionSecurityUtil.php.

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