ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ltiresult.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21require_once("../vendor/composer/vendor/autoload.php");
22
23if (!isset($_GET['client_id']) || !strlen($_GET['client_id'])) {
25 $log->error("HTTP/1.1 401 Authorization Required");
26 header('HTTP/1.1 401 Authorization Required');
27 exit;
28}
29
32
33$dic = $GLOBALS['DIC'];
35$log->info("LTI result init successful");
37$service->handleRequest();
const CONTEXT_SCORM
static init(string $a_type)
Init context by type.
static initILIAS()
ilias initialisation
static getLogger(string $a_component_id)
Get component logger.
exit
$_GET['cmd']
Definition: lti.php:26
$log
Definition: ltiresult.php:34
$service
Definition: ltiresult.php:36
$dic
Definition: ltiresult.php:33
$GLOBALS["DIC"]
Definition: wac.php:54