All Data Structures Functions Variables Pages
Public Member Functions | Protected Attributes
UserGroupMembershipToViewAdapter Class Reference

Public Member Functions

 __construct ($user)
 
 getViewData ()
 

Protected Attributes

 $user
 

Detailed Description

Given a collection of groups on a user adapt this into an array for view purposes

Definition at line 41 of file UserGroupMembershipToViewAdapter.php.

Constructor & Destructor Documentation

__construct (   $user)
Parameters
User$user

Definition at line 48 of file UserGroupMembershipToViewAdapter.php.

Member Function Documentation

getViewData ( )

Adapts all user's groups and adds the everyone group into the list.

Returns
$data array

Definition at line 59 of file UserGroupMembershipToViewAdapter.php.


The documentation for this class was generated from the following file:
Generated on Thu Feb 20 2020 07:10:56