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.ilTermsOfServiceEntityFactory.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
ilTermsOfServiceEntityFactory
9
{
15
public
function
getByName
(
string
$name
) :
ilTermsOfServiceAcceptanceEntity
16
{
17
switch
(strtolower($name)) {
18
case
'iltermsofserviceacceptanceentity'
:
19
return
new
ilTermsOfServiceAcceptanceEntity
();
20
21
default
:
22
throw
new
InvalidArgumentException
(
'Entity not supported'
);
23
}
24
}
25
}
ilTermsOfServiceEntityFactory
Class ilTermsOfServiceEntityFactory.
Definition:
class.ilTermsOfServiceEntityFactory.php:8
ilTermsOfServiceEntityFactory\getByName
getByName(string $name)
Definition:
class.ilTermsOfServiceEntityFactory.php:15
$name
if($format !==null) $name
Definition:
metadata.php:230
ilTermsOfServiceAcceptanceEntity
Class ilTermsOfServiceAcceptanceEntity.
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:8
InvalidArgumentException
Services
TermsOfService
classes
class.ilTermsOfServiceEntityFactory.php
Generated on Fri Apr 4 2025 21:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)