The mod_lti\local\ltiservice\response class.
More...
The mod_lti\local\ltiservice\response class.
- Since
- Moodle 2.8
- Copyright
- 2014 Vital Source Technologies http://vitalsource.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ add_additional_header()
mod_lti\local\ltiservice\response::add_additional_header |
( |
|
$header | ) |
|
Add an additional header.
- Parameters
-
string | $header | The new header |
◆ get_accept()
mod_lti\local\ltiservice\response::get_accept |
( |
| ) |
|
Get the request accept header.
- Return values
-
◆ get_code()
mod_lti\local\ltiservice\response::get_code |
( |
| ) |
|
Get the response code.
- Return values
-
◆ get_content_type()
mod_lti\local\ltiservice\response::get_content_type |
( |
| ) |
|
Get the response content type.
- Return values
-
◆ get_reason()
mod_lti\local\ltiservice\response::get_reason |
( |
| ) |
|
Get the response reason.
- Return values
-
◆ get_request_data()
mod_lti\local\ltiservice\response::get_request_data |
( |
| ) |
|
Get the request body.
- Return values
-
◆ get_request_method()
mod_lti\local\ltiservice\response::get_request_method |
( |
| ) |
|
Get the request method.
- Return values
-
◆ set_accept()
mod_lti\local\ltiservice\response::set_accept |
( |
|
$accept | ) |
|
Set the request accept header.
- Parameters
-
string | $accept | Accept header value |
◆ set_body()
mod_lti\local\ltiservice\response::set_body |
( |
|
$body | ) |
|
Set the response body.
- Parameters
-
◆ set_code()
mod_lti\local\ltiservice\response::set_code |
( |
|
$code | ) |
|
Set the response code.
- Parameters
-
◆ set_content_type()
mod_lti\local\ltiservice\response::set_content_type |
( |
|
$contenttype | ) |
|
Set the response content type.
- Parameters
-
string | $contenttype | Content type |
◆ set_reason()
mod_lti\local\ltiservice\response::set_reason |
( |
|
$reason | ) |
|
Set the response reason.
- Parameters
-
◆ set_request_data()
mod_lti\local\ltiservice\response::set_request_data |
( |
|
$data | ) |
|
Set the response body.
- Parameters
-
The documentation for this class was generated from the following file: