ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
result.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
chdir(
"../../../"
);
22
23
if
(!isset(
$_GET
[
'client_id'
]) || !strlen(
$_GET
[
'client_id'
])) {
24
header
(
'HTTP/1.1 401 Authorization Required'
);
25
exit
;
26
}
27
28
\ilContext::init
(\
ilContext::CONTEXT_SCORM
);
29
\ilInitialisation::initILIAS
();
30
31
$dic
=
$GLOBALS
[
'DIC'
];
32
$log
=
ilLoggerFactory::getLogger
(
'lti'
);
33
$log
->debug(
"LTI result init successful"
);
34
$service
=
new
ilLTIConsumerResultService
();
35
$service
->handleRequest();
$_GET
$_GET["client_id"]
Definition:
webdav.php:30
ilLoggerFactory\getLogger
static getLogger(string $a_component_id)
Get component logger.
Definition:
class.ilLoggerFactory.php:89
ilContext\CONTEXT_SCORM
const CONTEXT_SCORM
Definition:
class.ilContext.php:42
ilInitialisation\initILIAS
static initILIAS()
ilias initialisation
Definition:
class.ilInitialisation.php:1145
$GLOBALS
$GLOBALS["DIC"]
Definition:
wac.php:53
$log
$log
Definition:
result.php:32
$service
$service
Definition:
result.php:34
exit
exit
Definition:
dummy_client.php:21
ilLTIConsumerResultService
Definition:
class.ilLTIConsumerResultService.php:28
ilContext\init
static init(string $a_type)
Init context by type.
Definition:
class.ilContext.php:52
$dic
$dic
Definition:
result.php:31
ILIAS\UI\examples\Symbol\Glyph\Header\header
header()
expected output: > ILIAS shows the rendered Component.
Definition:
header.php:29
components
ILIAS
LTIConsumer
result.php
Generated on Sun Aug 31 2025 23:03:17 for ILIAS by
1.8.13 (using
Doxyfile
)