ILIAS  release_8 Revision v8.25
ApiTool.php
Go to the documentation of this file.
1<?php
2
20
29{
36
41 public function __construct(?\ILIAS\LTI\ToolProvider\Tool $tool)
42 {
43 $this->tool = $tool;
44 }
45
49 public function isConfigured(): bool
50 {
51 return true;
52 }
53
59 public function getUserId(): string
60 {
61 return '';
62 }
63
69 public function getContextId(): string
70 {
71 return '';
72 }
73}
Class to implement tool specific functions for LTI messages.
Definition: ApiTool.php:29
getContextId()
Get the Context ID.
Definition: ApiTool.php:69
__construct(?\ILIAS\LTI\ToolProvider\Tool $tool)
Class constructor.
Definition: ApiTool.php:41
ILIAS LTI ToolProvider Tool $tool
Tool object.
Definition: ApiTool.php:35
isConfigured()
Check if the API hook has been configured.
Definition: ApiTool.php:49
Class to represent an LTI Tool.
Definition: Tool.php:39
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: ApiContext.php:19
Class ChatMainBarProvider \MainMenu\Provider.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...