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

Public Member Functions

 __construct ($id, $name)
 
 getId ()
 
 getName ()
 
 getJSON ()
 
 setId ($id)
 
 setName ($name)
 
 getArray ()
 

Private Attributes

 $id
 
 $name
 

Detailed Description

Definition at line 15 of file Group.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\UI\Api\Models\Group::__construct (   $id,
  $name 
)

Group constructor.

Parameters
int$id
string$name

Definition at line 34 of file Group.php.

Member Function Documentation

◆ getArray()

Fossology\UI\Api\Models\Group::getArray ( )

Get the file element as associative array

Returns
array

Definition at line 89 of file Group.php.

◆ getId()

Fossology\UI\Api\Models\Group::getId ( )
Returns
number

Definition at line 45 of file Group.php.

◆ getJSON()

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

Definition at line 61 of file Group.php.

◆ getName()

Fossology\UI\Api\Models\Group::getName ( )
Returns
string

Definition at line 53 of file Group.php.

◆ setId()

Fossology\UI\Api\Models\Group::setId (   $id)
Parameters
number$id

Definition at line 71 of file Group.php.

◆ setName()

Fossology\UI\Api\Models\Group::setName (   $name)
Parameters
string$name

Definition at line 79 of file Group.php.


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