ILIAS
Release_4_4_x_branch Revision 61816
|
Let this class derive from a real http response class in future. More...
Public Member Functions | |
__construct () | |
setStatus ($status) | |
setBody ($body) | |
__toString () |
Data Fields | |
const | STATUS_SUCCESS = 1 |
const | STATUS_FAILURE = 2 |
Protected Member Functions | |
initHttpBody () |
Protected Attributes | |
$body |
Let this class derive from a real http response class in future.
Definition at line 11 of file class.ilTermsOfServiceJsonResponse.php.
ilTermsOfServiceJsonResponse::__construct | ( | ) |
Definition at line 24 of file class.ilTermsOfServiceJsonResponse.php.
References initHttpBody().
ilTermsOfServiceJsonResponse::__toString | ( | ) |
Definition at line 58 of file class.ilTermsOfServiceJsonResponse.php.
References ilJsonUtil\encode(), and exit.
|
protected |
Definition at line 32 of file class.ilTermsOfServiceJsonResponse.php.
References STATUS_SUCCESS.
Referenced by __construct().
ilTermsOfServiceJsonResponse::setBody | ( | $body | ) |
string | $body |
Definition at line 50 of file class.ilTermsOfServiceJsonResponse.php.
References $body.
ilTermsOfServiceJsonResponse::setStatus | ( | $status | ) |
int | $status |
Definition at line 42 of file class.ilTermsOfServiceJsonResponse.php.
|
protected |
Definition at line 19 of file class.ilTermsOfServiceJsonResponse.php.
Referenced by setBody().
const ilTermsOfServiceJsonResponse::STATUS_FAILURE = 2 |
Definition at line 14 of file class.ilTermsOfServiceJsonResponse.php.
Referenced by ilObjTermsOfServiceGUI\getAcceptedContentAsynch().
const ilTermsOfServiceJsonResponse::STATUS_SUCCESS = 1 |
Definition at line 13 of file class.ilTermsOfServiceJsonResponse.php.
Referenced by initHttpBody().