LTI Integration Library 4.10.3
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
ApiTool.php
1<?php
2
3namespace ceLTIc\LTI\ApiHook;
4
6
15{
16
22 protected $tool = null;
23
29 public function __construct($tool)
30 {
31 $this->tool = $tool;
32 }
33
39 public function isConfigured()
40 {
41 return true;
42 }
43
49 public function getUserId()
50 {
51 return '';
52 }
53
59 public function getContextId()
60 {
61 return '';
62 }
63
64}
Trait to handle API hook registrations.
Definition ApiHook.php:13
Class to implement tool specific functions for LTI messages.
Definition ApiTool.php:15
getUserId()
Get the User ID.
Definition ApiTool.php:49
__construct($tool)
Class constructor.
Definition ApiTool.php:29
isConfigured()
Check if the API hook has been configured.
Definition ApiTool.php:39
getContextId()
Get the Context ID.
Definition ApiTool.php:59
Class to represent an LTI Tool.
Definition Tool.php:24