Extends the IMS Tool provider library for the LTI enrolment.
More...
|
stdClass | $tool |
| $tool The object representing the enrol instance providing this LTI tool
|
|
Extends the IMS Tool provider library for the LTI enrolment.
- Copyright
- 2016 John Okely john@.nosp@m.mood.nosp@m.le.co.nosp@m.m
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
enrol_lti\tool_provider::__construct |
( |
|
$toolid | ) |
|
Create a new instance of tool_provider to handle all the LTI tool provider interactions.
- Parameters
-
int | $toolid | The id of the tool to be provided. |
◆ map_tool_to_consumer()
enrol_lti\tool_provider::map_tool_to_consumer |
( |
| ) |
|
Performs mapping of the tool consumer to a published tool.
- Exceptions
-
◆ onError()
enrol_lti\tool_provider::onError |
( |
| ) |
|
|
protected |
Override onError for custom error handling.
- Return values
-
◆ onLaunch()
enrol_lti\tool_provider::onLaunch |
( |
| ) |
|
|
protected |
Override onLaunch with tool logic.
- Return values
-
◆ strip_base_url()
enrol_lti\tool_provider::strip_base_url |
( |
|
$url | ) |
|
|
protected |
Remove $this->baseUrl (wwwroot) from a given url string and return it.
- Parameters
-
string | $url | The url from which to remove the base url |
- Return values
-
string|null | A string of the relative path to the url, or null if it couldn't be determined. |
The documentation for this class was generated from the following file: