FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\DelAgent\UI\DeleteResponse Class Reference

Handle response from delagent. More...

Collaboration diagram for Fossology\DelAgent\UI\DeleteResponse:
Collaboration graph

Public Member Functions

 __construct ($deleteMessage, $additionalMessage="")
 
 getDeleteMessageCode ()
 
 getDeleteMessageString ()
 Translates message code to strings. More...
 
 getAdditionalMessage ()
 

Private Attributes

 $deleteMessageCode
 
 $additionalMessage
 

Detailed Description

Handle response from delagent.

Definition at line 14 of file DeleteResponse.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\DelAgent\UI\DeleteResponse::__construct (   $deleteMessage,
  $additionalMessage = "" 
)

DeleteResponse constructor.

Parameters
DeleteMessages | int$deleteMessage
string$additionalMessage

Definition at line 32 of file DeleteResponse.php.

Member Function Documentation

◆ getAdditionalMessage()

Fossology\DelAgent\UI\DeleteResponse::getAdditionalMessage ( )
Returns
string

Definition at line 67 of file DeleteResponse.php.

◆ getDeleteMessageCode()

Fossology\DelAgent\UI\DeleteResponse::getDeleteMessageCode ( )
Returns
DeleteMessages|int

Definition at line 41 of file DeleteResponse.php.

◆ getDeleteMessageString()

Fossology\DelAgent\UI\DeleteResponse::getDeleteMessageString ( )

Translates message code to strings.

Returns
string

Definition at line 50 of file DeleteResponse.php.

Member Data Documentation

◆ $additionalMessage

string Fossology\DelAgent\UI\DeleteResponse::$additionalMessage
private

Additional messages for user

Definition at line 25 of file DeleteResponse.php.

◆ $deleteMessageCode

DeleteMessages Fossology\DelAgent\UI\DeleteResponse::$deleteMessageCode
private

Messages from delagent

Definition at line 20 of file DeleteResponse.php.


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