ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
result.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
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
require_once(
"Services/Init/classes/class.ilInitialisation.php"
);
29
\ilContext::init
(\
ilContext::CONTEXT_SCORM
);
30
\ilInitialisation::initILIAS
();
31
32
$dic
=
$GLOBALS
[
'DIC'
];
33
$log
=
ilLoggerFactory::getLogger
(
'lti'
);
34
$log
->debug(
"LTI result init successful"
);
35
$service
=
new
ilLTIConsumerResultService
();
36
$service
->handleRequest();
$_GET
$_GET["client_id"]
Definition:
webdav.php:30
exit
exit
Definition:
login.php:29
ilLoggerFactory\getLogger
static getLogger(string $a_component_id)
Get component logger.
Definition:
class.ilLoggerFactory.php:90
ilContext\CONTEXT_SCORM
const CONTEXT_SCORM
Definition:
class.ilContext.php:42
ilInitialisation\initILIAS
static initILIAS()
ilias initialisation
Definition:
class.ilInitialisation.php:1209
$GLOBALS
$GLOBALS["DIC"]
Definition:
wac.php:31
$log
$log
Definition:
result.php:33
$service
$service
Definition:
result.php:35
ilLTIConsumerResultService
Definition:
class.ilLTIConsumerResultService.php:25
ilContext\init
static init(string $a_type)
Init context by type.
Definition:
class.ilContext.php:52
$dic
$dic
Definition:
result.php:32
ILIAS\UI\examples\Symbol\Glyph\Header\header
header()
Definition:
header.php:7
Modules
LTIConsumer
result.php
Generated on Wed Sep 10 2025 14:10:57 for ILIAS by
1.8.13 (using
Doxyfile
)