UserAccessUtil Class Reference

Static Public Member Functions

static resolveCanCurrentUserAccessAction ($userId)
static resolveCanCurrentUserAccessRootUser (User $user, $renderAccessViewOnFailure=true)
static resolveAccessingASystemUser ($user, $renderAccessViewOnFailure=true)
static canCurrentUserViewALinkRequiringElevatedAccess (User $user)

Detailed Description

Definition at line 37 of file UserAccessUtil.php.


Member Function Documentation

static resolveCanCurrentUserAccessAction ( userId  )  [static]
Parameters:
int $userId

Definition at line 42 of file UserAccessUtil.php.

static canCurrentUserViewALinkRequiringElevatedAccess ( User user  )  [static]
See also:
ActionBarForUserEditAndDetailsView, most pill box links are only available to a user viewing the profile under certain conditions.
Parameters:
User $user
Returns:
boolean if the current user can view the edit type links or not

Definition at line 106 of file UserAccessUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Mar 25 07:10:31 2017