Handles the return params from the external registration page after it redirects back to Moodle.
See also: mod/lti/externalregistrationreturn.php
- Source:
- Since:
- 3.1
- Copyright:
- 2015 Ryan Wyllie
- 2015 Ryan Wyllie
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Methods
(inner) init(message, error, id, status)
If this was rendered in an iframe then trigger the external registration complete behaviour in the parent page and provide the params returned from the external registration page.
Parameters:
Name | Type | Description |
---|---|---|
message |
String | The registration message from the external registration page |
error |
String | The registration error message from the external registration page, if there was an error. |
id |
Integer | The tool proxy id for the external registration. |
status |
String | Whether the external registration was successful or not. |