[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

This file contains an abstract definition of an LTI resource

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: 277 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 13 functions

  __construct()
  get_id()
  get_template()
  get_path()
  get_type()
  get_service()
  get_methods()
  get_formats()
  get_variables()
  get_endpoint()
  check_tool_proxy()
  parse_value()
  parse_template()

Functions
Functions that are not part of a class:

__construct($service)   X-Ref
Class constructor.

param: mod_lti\local\ltiservice\service_base $service Service instance

get_id()   X-Ref
Get the resource ID.

return: string

get_template()   X-Ref
Get the resource template.

return: string

get_path()   X-Ref
Get the resource path.

return: string

get_type()   X-Ref
Get the resource type.

return: string

get_service()   X-Ref
Get the resource's service.

return: mod_lti\local\ltiservice\service_base

get_methods()   X-Ref
Get the resource methods.

return: array

get_formats()   X-Ref
Get the resource media types.

return: array

get_variables()   X-Ref
Get the resource template variables.

return: array

get_endpoint()   X-Ref
Get the resource fully qualified endpoint.

return: string

check_tool_proxy($toolproxyguid, $body = null)   X-Ref
Check to make sure the request is valid.

param: string $toolproxyguid Consumer key
param: string $body          Body of HTTP request message
return: boolean

parse_value($value)   X-Ref
Parse a value for custom parameter substitution variables.

param: string $value String to be parsed
return: string

parse_template()   X-Ref
Parse the template for variables.

return: array



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1