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

Public Member Functions

 __construct ($id, $name, $description, $parent)
 
 getId ()
 
 getName ()
 
 getDescription ()
 
 getParent ()
 
 getJSON ()
 
 setId ($id)
 
 setName ($name)
 
 setDescription ($description)
 
 setParent ($parent)
 
 getArray ()
 

Private Attributes

 $id
 
 $name
 
 $description
 
 $parent
 

Detailed Description

Definition at line 14 of file Folder.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\UI\Api\Models\Folder::__construct (   $id,
  $name,
  $description,
  $parent 
)

Folder constructor.

Parameters
int$id
string$name
string$description

Definition at line 44 of file Folder.php.

Member Function Documentation

◆ getArray()

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

Get the file element as associative array

Returns
array

Definition at line 141 of file Folder.php.

◆ getDescription()

Fossology\UI\Api\Models\Folder::getDescription ( )
Returns
string

Definition at line 77 of file Folder.php.

◆ getId()

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

Definition at line 61 of file Folder.php.

◆ getJSON()

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

Definition at line 93 of file Folder.php.

◆ getName()

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

Definition at line 69 of file Folder.php.

◆ getParent()

Fossology\UI\Api\Models\Folder::getParent ( )
Returns
number

Definition at line 85 of file Folder.php.

◆ setDescription()

Fossology\UI\Api\Models\Folder::setDescription (   $description)
Parameters
string$description

Definition at line 119 of file Folder.php.

◆ setId()

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

Definition at line 103 of file Folder.php.

◆ setName()

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

Definition at line 111 of file Folder.php.

◆ setParent()

Fossology\UI\Api\Models\Folder::setParent (   $parent)
Parameters
string$parent

Definition at line 127 of file Folder.php.


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