Class to implement tool specific functions for LTI messages. More...
Public Member Functions | |
| __construct ($tool) | |
| Class constructor. | |
| isConfigured () | |
| Check if the API hook has been configured. | |
| getUserId () | |
| Get the User ID. | |
| getContextId () | |
| Get the Context ID. | |
Protected Attributes | |
| $tool = null | |
| Tool object. | |
Class to implement tool specific functions for LTI messages.
Definition at line 14 of file ApiTool.php.
| __construct | ( | $tool | ) |
Class constructor.
| Tool | null | $tool |
Reimplemented in CanvasApiToolProvider, and ApiToolProvider.
Definition at line 29 of file ApiTool.php.
References ApiTool\$tool.
| getContextId | ( | ) |
Get the Context ID.
Definition at line 59 of file ApiTool.php.
| getUserId | ( | ) |
Get the User ID.
Reimplemented in CanvasApiTool.
Definition at line 49 of file ApiTool.php.
| isConfigured | ( | ) |
Check if the API hook has been configured.
Definition at line 39 of file ApiTool.php.
|
protected |
Tool object.
Definition at line 22 of file ApiTool.php.
Referenced by ApiTool\__construct(), and CanvasApiToolProvider\__construct().