FOSSology  3.2.0rc1
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 25 of file Folder.php.

Constructor & Destructor Documentation

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

Folder constructor.

Parameters
int$id
string$name
string$description

Definition at line 55 of file Folder.php.

Member Function Documentation

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

Get the file element as associative array

Returns
array

Definition at line 152 of file Folder.php.

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

Definition at line 88 of file Folder.php.

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

Definition at line 72 of file Folder.php.

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

Definition at line 104 of file Folder.php.

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

Definition at line 80 of file Folder.php.

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

Definition at line 96 of file Folder.php.

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

Definition at line 130 of file Folder.php.

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

Definition at line 114 of file Folder.php.

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

Definition at line 122 of file Folder.php.

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

Definition at line 138 of file Folder.php.


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