FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Models\UserGroupMember Class Reference
Collaboration diagram for Fossology\UI\Api\Models\UserGroupMember:
Collaboration graph

Public Member Functions

 __construct ($user, $group_perm)
 
 setUser ($user)
 
 setGroupPerm ($group_perm)
 
 getUser ()
 
 getGroupPerm ()
 
 getJSON ()
 
 getArray ($version=ApiVersion::V1)
 

Private Attributes

 $user
 
 $group_perm
 

Detailed Description

Definition at line 15 of file UserGroupMember.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\UI\Api\Models\UserGroupMember::__construct (   $user,
  $group_perm 
)

UserGroupMember constructor.

Parameters
User$user
number$group_perm

Definition at line 34 of file UserGroupMember.php.

Member Function Documentation

◆ getArray()

Fossology\UI\Api\Models\UserGroupMember::getArray (   $version = ApiVersion::V1)

Get the file element as associative array

Returns
array

Definition at line 90 of file UserGroupMember.php.

◆ getGroupPerm()

Fossology\UI\Api\Models\UserGroupMember::getGroupPerm ( )
Returns
number

Definition at line 72 of file UserGroupMember.php.

◆ getJSON()

Fossology\UI\Api\Models\UserGroupMember::getJSON ( )
Returns
string json

Definition at line 80 of file UserGroupMember.php.

◆ getUser()

Fossology\UI\Api\Models\UserGroupMember::getUser ( )
Returns
User

Definition at line 64 of file UserGroupMember.php.

◆ setGroupPerm()

Fossology\UI\Api\Models\UserGroupMember::setGroupPerm (   $group_perm)
Parameters
number$group_perm

Definition at line 53 of file UserGroupMember.php.

◆ setUser()

Fossology\UI\Api\Models\UserGroupMember::setUser (   $user)
Parameters
User$user

Definition at line 45 of file UserGroupMember.php.


The documentation for this class was generated from the following file: