LTI Integration Library
4.10.3
PHP class library for building LTI integrations
Loading...
Searching...
No Matches
ApiTool.php
1
<?php
2
3
namespace
ceLTIc\LTI\ApiHook
;
4
5
use
ceLTIc\LTI\Tool
;
6
14
class
ApiTool
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
}
ceLTIc\LTI\ApiHook\ApiHook
Trait to handle API hook registrations.
Definition
ApiHook.php:13
ceLTIc\LTI\ApiHook\ApiTool
Class to implement tool specific functions for LTI messages.
Definition
ApiTool.php:15
ceLTIc\LTI\ApiHook\ApiTool\getUserId
getUserId()
Get the User ID.
Definition
ApiTool.php:49
ceLTIc\LTI\ApiHook\ApiTool\$tool
$tool
Tool object.
Definition
ApiTool.php:22
ceLTIc\LTI\ApiHook\ApiTool\__construct
__construct($tool)
Class constructor.
Definition
ApiTool.php:29
ceLTIc\LTI\ApiHook\ApiTool\isConfigured
isConfigured()
Check if the API hook has been configured.
Definition
ApiTool.php:39
ceLTIc\LTI\ApiHook\ApiTool\getContextId
getContextId()
Get the Context ID.
Definition
ApiTool.php:59
ceLTIc\LTI\Tool
Class to represent an LTI Tool.
Definition
Tool.php:24
Generated on Tue Jun 13 2023 by
Doxygen 1.9.7