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

Public Member Functions

 __construct ($publicPerm, $permGroups)
 
 getpublicPerm ()
 
 getpermGroups ()
 
 getJSON ($version=ApiVersion::V1)
 
 getArray ($version=ApiVersion::V1)
 
 setpublicPerm ($publicPerm)
 
 setpermGroups ($permGroups)
 

Private Attributes

 $publicPerm
 
 $permGroups
 

Detailed Description

Definition at line 13 of file Permissions.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\UI\Api\Models\Permissions::__construct (   $publicPerm,
  $permGroups 
)
Parameters
string$PublicPerm
array$permGroups

Definition at line 29 of file Permissions.php.

Member Function Documentation

◆ getArray()

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

Get ScannedLicense element as associative array

Parameters
integer$version
Returns
array

Definition at line 66 of file Permissions.php.

◆ getJSON()

Fossology\UI\Api\Models\Permissions::getJSON (   $version = ApiVersion::V1)

JSON representation of current scannedLicense

Parameters
integer$version
Returns
string

Definition at line 56 of file Permissions.php.

◆ getpermGroups()

Fossology\UI\Api\Models\Permissions::getpermGroups ( )
Returns
array

Definition at line 46 of file Permissions.php.

◆ getpublicPerm()

Fossology\UI\Api\Models\Permissions::getpublicPerm ( )
Returns
string

Definition at line 38 of file Permissions.php.

◆ setpermGroups()

Fossology\UI\Api\Models\Permissions::setpermGroups (   $permGroups)
Parameters
array$permGroups

Definition at line 91 of file Permissions.php.

◆ setpublicPerm()

Fossology\UI\Api\Models\Permissions::setpublicPerm (   $publicPerm)
Parameters
string$publicPerm

Definition at line 83 of file Permissions.php.

Member Data Documentation

◆ $permGroups

array Fossology\UI\Api\Models\Permissions::$permGroups
private

permissions for groups

Definition at line 24 of file Permissions.php.

◆ $publicPerm

string Fossology\UI\Api\Models\Permissions::$publicPerm
private

public permissions

Definition at line 19 of file Permissions.php.


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