REST Service for POPCORN - ILIAS
alex
2025-06-14 55361bb41a37b1448c3aa729353c1391ccd28833
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
declare(strict_types=1);
 
# Testdatei für globus-ilias-rest
 
try {
 
    require_once("Services/Init/classes/class.ilInitialisation.php");
    ilInitialisation::initILIAS();
 
    $usr = ilObjectFactory::getInstanceByObjId(316);
    //echo $usr; aa
    echo json_encode($usr);
 
    echo "jojojo";
}
catch(Exception $ex) {
    echo $ex;
}
 
?>