[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/lti/classes/local/ltiservice/ -> response.php (summary)

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

Defines 1 class

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()


Class: response  - X-Ref

The mod_lti\local\ltiservice\response class.

__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: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1