Class to implement tool specific functions for LTI messages. More...
Public Member Functions | |
__construct (?Tool $tool) | |
Class constructor. | |
bool | isConfigured () |
Check if the API hook has been configured. | |
string | getUserId () |
Get the User ID. | |
string | getContextId () |
Get the Context ID. | |
Protected Attributes | |
Tool | $tool = null |
Tool object. | |
Class to implement tool specific functions for LTI messages.
__construct | ( | ?Tool | $tool | ) |
Class constructor.
Tool | null | $tool |
string getContextId | ( | ) |
Get the Context ID.
string getUserId | ( | ) |
Get the User ID.
Reimplemented in CanvasApiTool.
bool isConfigured | ( | ) |
Check if the API hook has been configured.