dolibarr 24.0.0-beta
JsonResponse Class Reference

Class JsonResponse used for ajax responses in Dolibarr. More...

Public Member Functions

 __construct ()
 JsonResponse constructor.
 
 getResponse ()
 return json encoded of object
 

Public Attributes

 $msg = ''
 returned message used usually as set event message
 

Detailed Description

Class JsonResponse used for ajax responses in Dolibarr.

Definition at line 23 of file jsonResponse.class.php.

Member Function Documentation

◆ getResponse()

JsonResponse::getResponse ( )

return json encoded of object

Returns
string JSON

Definition at line 74 of file jsonResponse.class.php.

References $msg.


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