ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
SuggestedSolutionLink.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\TestQuestionPool\Questions\SuggestedSolution
;
22
28
class
SuggestedSolutionLink
extends
SuggestedSolution
29
{
30
protected
string
$type
;
31
protected
string
$internal_link
;
32
33
public
function
__construct
(
34
int
$id
,
35
int
$question_id
,
36
int
$subquestion_index
,
37
string
$import_id
,
38
\
DateTimeImmutable
$last_update
,
39
string
$type,
40
string
$internal_link
41
) {
42
parent::__construct
($id, $question_id, $subquestion_index, $import_id, $last_update);
43
$this->type =
$type
;
44
$this->internal_link =
$internal_link
;
45
}
46
47
public
function
getType
(): string
48
{
49
return
$this->type
;
50
}
51
52
public
function
getStorableValue
(): string
53
{
54
return
$this->
getInternalLink
();
55
}
56
57
public
function
getInternalLink
(): string
58
{
59
return
$this->internal_link
;
60
}
61
public
function
withInternalLink
(
string
$internal_link): static
62
{
63
$clone = clone $this;
64
$clone->internal_link =
$internal_link
;
65
return
$clone;
66
}
67
}
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink\getStorableValue
getStorableValue()
Definition:
SuggestedSolutionLink.php:52
DateTimeImmutable
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolution
a suggested solution
Definition:
SuggestedSolution.php:28
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink\$internal_link
string $internal_link
Definition:
SuggestedSolutionLink.php:31
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink\__construct
__construct(int $id, int $question_id, int $subquestion_index, string $import_id, \DateTimeImmutable $last_update, string $type, string $internal_link)
Definition:
SuggestedSolutionLink.php:33
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink
a suggested solution that links to some other object/place
Definition:
SuggestedSolutionLink.php:28
ILIAS\TestQuestionPool\Questions\SuggestedSolution
Definition:
SuggestedSolution.php:21
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink\$type
string $type
Definition:
SuggestedSolutionLink.php:30
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolution\$import_id
string $import_id
Definition:
SuggestedSolution.php:47
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink\withInternalLink
withInternalLink(string $internal_link)
Definition:
SuggestedSolutionLink.php:61
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink\getInternalLink
getInternalLink()
Definition:
SuggestedSolutionLink.php:57
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolution\$id
int $id
Definition:
SuggestedSolution.php:44
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolution\$question_id
int $question_id
Definition:
SuggestedSolution.php:45
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink\getType
getType()
Definition:
SuggestedSolutionLink.php:47
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolution\$subquestion_index
int $subquestion_index
Definition:
SuggestedSolution.php:46
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolution\$last_update
DateTimeImmutable $last_update
Definition:
SuggestedSolution.php:48
components
ILIAS
TestQuestionPool
src
Questions
SuggestedSolutions
SuggestedSolutionLink.php
Generated on Tue Apr 8 2025 23:04:36 for ILIAS by
1.8.13 (using
Doxyfile
)