|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Collaboration diagram for ilLTIConsumerServiceResponse:Public Member Functions | |
| __construct () | |
| Class constructor. More... | |
| getCode () | |
| Get the response code. More... | |
| setCode (int $code) | |
| Set the response code. More... | |
| getReason () | |
| Get the response reason. More... | |
| setReason (string $reason) | |
| Set the response reason. More... | |
| getRequestMethod () | |
| Get the request method. More... | |
| getAccept () | |
| Get the request accept header. More... | |
| setAccept (string $accept) | |
| Set the request accept header. More... | |
| getContentType () | |
| Get the response content type. More... | |
| setContentType (string $contenttype) | |
| Set the response content type. More... | |
| getRequestData () | |
| Get the request body. More... | |
| setRequestData (string $data) | |
| Set the response body. More... | |
| setBody (string $body) | |
| Set the response body. More... | |
| send ($debug=true) | |
| Add an additional header. More... | |
Private Attributes | |
| int | $code |
| HTTP response code. More... | |
| string | $reason |
| HTTP response reason. More... | |
| string | $requestmethod |
| HTTP request method. More... | |
| string | $accept |
| HTTP request accept header. More... | |
| string | $contenttype |
| HTTP response content type. More... | |
| string | $data |
| HTTP request body. More... | |
| string | $body |
| HTTP response body. More... | |
| array | $responsecodes |
| HTTP response codes. More... | |
| array | $additionalheaders |
| HTTP additional headers. More... | |
Definition at line 30 of file class.ilLTIConsumerServiceResponse.php.
| ilLTIConsumerServiceResponse::__construct | ( | ) |
Class constructor.
Definition at line 62 of file class.ilLTIConsumerServiceResponse.php.
References $_SERVER.
| ilLTIConsumerServiceResponse::getAccept | ( | ) |
Get the request accept header.
Definition at line 145 of file class.ilLTIConsumerServiceResponse.php.
References $accept.
| ilLTIConsumerServiceResponse::getCode | ( | ) |
Get the response code.
Definition at line 93 of file class.ilLTIConsumerServiceResponse.php.
References $code.
| ilLTIConsumerServiceResponse::getContentType | ( | ) |
Get the response content type.
Definition at line 161 of file class.ilLTIConsumerServiceResponse.php.
References $contenttype.
| ilLTIConsumerServiceResponse::getReason | ( | ) |
Get the response reason.
Definition at line 110 of file class.ilLTIConsumerServiceResponse.php.
References $code, and $reason.
Referenced by send().
Here is the caller graph for this function:| ilLTIConsumerServiceResponse::getRequestData | ( | ) |
Get the request body.
Definition at line 177 of file class.ilLTIConsumerServiceResponse.php.
References $data.
Referenced by ilLTIConsumerGradeServiceScores\execute().
Here is the caller graph for this function:| ilLTIConsumerServiceResponse::getRequestMethod | ( | ) |
Get the request method.
Definition at line 137 of file class.ilLTIConsumerServiceResponse.php.
References $requestmethod.
| ilLTIConsumerServiceResponse::send | ( | $debug = true | ) |
Add an additional header.
Send the response.
Definition at line 209 of file class.ilLTIConsumerServiceResponse.php.
References $_SERVER, $body, $code, ilObjLTIConsumer\getLogger(), getReason(), and ILIAS\UI\examples\Symbol\Glyph\Header\header().
Here is the call graph for this function:| ilLTIConsumerServiceResponse::setAccept | ( | string | $accept | ) |
Set the request accept header.
Definition at line 153 of file class.ilLTIConsumerServiceResponse.php.
References $accept.
| ilLTIConsumerServiceResponse::setBody | ( | string | $body | ) |
Set the response body.
Definition at line 193 of file class.ilLTIConsumerServiceResponse.php.
References $body.
| ilLTIConsumerServiceResponse::setCode | ( | int | $code | ) |
Set the response code.
Definition at line 101 of file class.ilLTIConsumerServiceResponse.php.
References $code.
Referenced by ilLTIConsumerGradeServiceScores\execute().
Here is the caller graph for this function:| ilLTIConsumerServiceResponse::setContentType | ( | string | $contenttype | ) |
Set the response content type.
Definition at line 169 of file class.ilLTIConsumerServiceResponse.php.
References $contenttype.
| ilLTIConsumerServiceResponse::setReason | ( | string | $reason | ) |
Set the response reason.
Definition at line 129 of file class.ilLTIConsumerServiceResponse.php.
References $reason.
Referenced by ilLTIConsumerGradeServiceScores\execute().
Here is the caller graph for this function:| ilLTIConsumerServiceResponse::setRequestData | ( | string | $data | ) |
Set the response body.
Definition at line 185 of file class.ilLTIConsumerServiceResponse.php.
References $data.
|
private |
HTTP request accept header.
Definition at line 42 of file class.ilLTIConsumerServiceResponse.php.
Referenced by getAccept(), and setAccept().
|
private |
HTTP additional headers.
Definition at line 57 of file class.ilLTIConsumerServiceResponse.php.
|
private |
HTTP response body.
Definition at line 51 of file class.ilLTIConsumerServiceResponse.php.
|
private |
HTTP response code.
Definition at line 33 of file class.ilLTIConsumerServiceResponse.php.
Referenced by getCode(), getReason(), send(), and setCode().
|
private |
HTTP response content type.
Definition at line 45 of file class.ilLTIConsumerServiceResponse.php.
Referenced by getContentType(), and setContentType().
|
private |
HTTP request body.
Definition at line 48 of file class.ilLTIConsumerServiceResponse.php.
Referenced by getRequestData(), and setRequestData().
|
private |
HTTP response reason.
Definition at line 36 of file class.ilLTIConsumerServiceResponse.php.
Referenced by getReason(), and setReason().
|
private |
HTTP request method.
Definition at line 39 of file class.ilLTIConsumerServiceResponse.php.
Referenced by getRequestMethod().
|
private |
HTTP response codes.
Definition at line 54 of file class.ilLTIConsumerServiceResponse.php.