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:
 All Data Structures Functions Variables
Generated on Mon Mar 27 07:10:30 2017