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
class.ilTermsOfServiceCriterionConfig.php
Go to the documentation of this file.
1
<?php declare(strict_types=1);
2
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
8
class
ilTermsOfServiceCriterionConfig
extends
ArrayObject
implements
ilTermsOfServiceJsonSerializable
9
{
14
public
function
__construct
(
$data
= [])
15
{
16
if
(is_array(
$data
)) {
17
parent::__construct
(
$data
);
18
}
else
{
19
parent::__construct
([]);
20
21
if
(is_string(
$data
)) {
22
$this->
fromJson
(
$data
);
23
}
24
}
25
}
26
30
public
function
toJson
() : string
31
{
32
$json = json_encode($this);
33
34
return
$json;
35
}
36
40
public
function
fromJson
(
string
$json) : void
41
{
42
$data
= json_decode($json,
true
);
43
44
$this->exchangeArray(
$data
);
45
}
46
50
public
function
jsonSerialize
()
51
{
52
return
$this->getArrayCopy();
53
}
54
}
ArrayObject
$data
$data
Definition:
storeScorm.php:23
ilTermsOfServiceCriterionConfig\__construct
__construct($data=[])
ilTermsOfServiceCriterionConfig constructor.
Definition:
class.ilTermsOfServiceCriterionConfig.php:14
ilTermsOfServiceCriterionConfig
Class ilTermsOfServiceCriterionConfig.
Definition:
class.ilTermsOfServiceCriterionConfig.php:8
ilTermsOfServiceJsonSerializable
Interface ilTermsOfServiceJsonSerializable.
Definition:
interface.ilTermsOfServiceJsonSerializable.php:8
ilTermsOfServiceCriterionConfig\toJson
toJson()
Definition:
class.ilTermsOfServiceCriterionConfig.php:30
ilTermsOfServiceCriterionConfig\fromJson
fromJson(string $json)
Definition:
class.ilTermsOfServiceCriterionConfig.php:40
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:40
ilTermsOfServiceCriterionConfig\jsonSerialize
jsonSerialize()
Definition:
class.ilTermsOfServiceCriterionConfig.php:50
Services
TermsOfService
classes
Criteria
class.ilTermsOfServiceCriterionConfig.php
Generated on Sun Apr 6 2025 21:01:40 for ILIAS by
1.8.13 (using
Doxyfile
)