LTI Integration Library
4.10.3
PHP class library for building LTI integrations
Loading...
Searching...
No Matches
ApiPlatform.php
1
<?php
2
3
namespace
ceLTIc\LTI\ApiHook
;
4
5
use
ceLTIc\LTI\Platform
;
6
14
class
ApiPlatform
15
{
16
22
protected
$platform
=
null
;
23
29
public
function
__construct
(
$platform
)
30
{
31
$this->platform =
$platform
;
32
}
33
39
public
function
isConfigured
()
40
{
41
return
true
;
42
}
43
51
public
function
getToolSettings
($simple =
true
)
52
{
53
return
false
;
54
}
55
63
public
function
setToolSettings
($settings = array())
64
{
65
return
false
;
66
}
67
68
}
ceLTIc\LTI\ApiHook\ApiHook
Trait to handle API hook registrations.
Definition
ApiHook.php:13
ceLTIc\LTI\ApiHook\ApiPlatform
Class to implement services for a platform via its proprietary API.
Definition
ApiPlatform.php:15
ceLTIc\LTI\ApiHook\ApiPlatform\__construct
__construct($platform)
Class constructor.
Definition
ApiPlatform.php:29
ceLTIc\LTI\ApiHook\ApiPlatform\$platform
$platform
Platform object.
Definition
ApiPlatform.php:22
ceLTIc\LTI\ApiHook\ApiPlatform\isConfigured
isConfigured()
Check if the API hook has been configured.
Definition
ApiPlatform.php:39
ceLTIc\LTI\ApiHook\ApiPlatform\setToolSettings
setToolSettings($settings=array())
Perform a Tool Settings service request.
Definition
ApiPlatform.php:63
ceLTIc\LTI\ApiHook\ApiPlatform\getToolSettings
getToolSettings($simple=true)
Get Tool Settings.
Definition
ApiPlatform.php:51
ceLTIc\LTI\Platform
Class to represent a platform.
Definition
Platform.php:18
Generated on Tue Jun 13 2023 by
Doxygen 1.9.7