| [ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
This file contains an abstract definition of an LTI service
| Author: | Stephen Vickers |
| Copyright: | 2014 Vital Source Technologies http://vitalsource.com |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 220 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
response:: (14 methods):
__construct()
get_code()
set_code()
get_reason()
set_reason()
get_request_method()
get_accept()
set_accept()
get_content_type()
set_content_type()
get_request_data()
set_request_data()
set_body()
send()
| __construct() X-Ref |
| Class constructor. |
| get_code() X-Ref |
| Get the response code. return: int |
| set_code($code) X-Ref |
| Set the response code. param: int $code Response code |
| get_reason() X-Ref |
| Get the response reason. return: string |
| set_reason($reason) X-Ref |
| Set the response reason. param: string $reason Reason |
| get_request_method() X-Ref |
| Get the request method. return: string |
| get_accept() X-Ref |
| Get the request accept header. return: string |
| set_accept($accept) X-Ref |
| Set the request accept header. param: string $accept Accept header value |
| get_content_type() X-Ref |
| Get the response content type. return: string |
| set_content_type($contenttype) X-Ref |
| Set the response content type. param: string $contenttype Content type |
| get_request_data() X-Ref |
| Get the request body. return: string |
| set_request_data($data) X-Ref |
| Set the response body. param: string $data Body data |
| set_body($body) X-Ref |
| Set the response body. param: string $body Body data |
| send() X-Ref |
| Send the response. |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |