ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
storeScorm.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
10
include_once
"Services/Context/classes/class.ilContext.php"
;
11
ilContext::init
(
ilContext::CONTEXT_SCORM
);
12
13
require_once(
"Services/Init/classes/class.ilInitialisation.php"
);
14
ilInitialisation::initILIAS
();
15
16
include_once
'Modules/ScormAicc/classes/SCORM/class.ilObjSCORMTracking.php'
;
17
18
if
((
string
)
$_GET
[
'do'
] ==
"unload"
) {
19
ilObjSCORMTracking::checkIfAllowed
((
int
)
$_GET
[
'package_id'
], (
int
) $_GET[
'p'
], (
int
) $_GET[
'hash'
]);
20
ilObjSCORMTracking::scorm12PlayerUnload
();
21
}
else
{
22
global
$ilUser
;
23
$data
= file_get_contents(
'php://input'
);
24
$ilUser->setId(
$data
->p);
25
ilObjSCORMTracking::checkIfAllowed
((
int
) $_GET[
'package_id'
], (
int
)
$data
->p, (
int
)
$data
->hash);
26
ilObjSCORMTracking::storeJsApi
();
27
}
$data
$data
Definition:
storeScorm.php:23
$_GET
$_GET["client_id"]
Definition:
cfg.phpunit.template.php:12
ilContext\CONTEXT_SCORM
const CONTEXT_SCORM
Definition:
class.ilContext.php:31
ilObjSCORMTracking\storeJsApi
static storeJsApi($obj_id=0)
Definition:
class.ilObjSCORMTracking.php:146
ilInitialisation\initILIAS
static initILIAS()
ilias initialisation
Definition:
class.ilInitialisation.php:1158
ilContext\init
static init($a_type)
Init context by type.
Definition:
class.ilContext.php:45
ilObjSCORMTracking\scorm12PlayerUnload
static scorm12PlayerUnload()
Definition:
class.ilObjSCORMTracking.php:752
ilObjSCORMTracking\checkIfAllowed
static checkIfAllowed($packageId, $userId, $hash)
Definition:
class.ilObjSCORMTracking.php:780
$ilUser
$ilUser
Definition:
imgupload.php:18
storeScorm.php
Generated on Wed Apr 9 2025 21:01:56 for ILIAS by
1.8.13 (using
Doxyfile
)