ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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(), exit, and header.
|
protected |
Definition at line 32 of file class.ilTermsOfServiceJsonResponse.php.
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(), and ilObjTermsOfServiceGUI\getAgreementTextByFilenameAsynch().
const ilTermsOfServiceJsonResponse::STATUS_SUCCESS = 1 |
Definition at line 13 of file class.ilTermsOfServiceJsonResponse.php.