|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Let this class derive from a real http response class in future. More...
Collaboration diagram for ilTermsOfServiceJsonResponse: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().
Here is the call graph for this function:| ilTermsOfServiceJsonResponse::__toString | ( | ) |
Definition at line 58 of file class.ilTermsOfServiceJsonResponse.php.
References ilJsonUtil\encode(), and exit.
Here is the call graph for this function:
|
protected |
Definition at line 32 of file class.ilTermsOfServiceJsonResponse.php.
References STATUS_SUCCESS.
Referenced by __construct().
Here is the caller graph for this function:| 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().